Add the agaric_migration module
This commit is contained in:
parent
e38187bc7d
commit
331e22299a
4 changed files with 89 additions and 0 deletions
11
web/modules/custom/agaric_migration/migrations/agaric.yml
Normal file
11
web/modules/custom/agaric_migration/migrations/agaric.yml
Normal file
|
@ -0,0 +1,11 @@
|
|||
id: agaric
|
||||
label: Agaric Group
|
||||
description: Agaric migrations.
|
||||
source_type: Drupal 7
|
||||
shared_configuration:
|
||||
source:
|
||||
key: migrate
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- agaric_migration
|
|
@ -0,0 +1,32 @@
|
|||
id: agaric_user
|
||||
migration_group: agaric
|
||||
label: Agaric Users
|
||||
source:
|
||||
plugin: d7_user
|
||||
destination:
|
||||
plugin: entity:user
|
||||
process:
|
||||
name: name
|
||||
pass: pass
|
||||
mail: mail
|
||||
created: created
|
||||
access: access
|
||||
login: login
|
||||
status: status
|
||||
timezone: timezone
|
||||
init: init
|
||||
roles:
|
||||
-
|
||||
plugin: static_map
|
||||
source: roles
|
||||
map:
|
||||
1: anonymous
|
||||
2: authenticated
|
||||
3: staff
|
||||
4: administrator
|
||||
5: past
|
||||
6: partner
|
||||
-
|
||||
plugin: role_generate
|
||||
entity_type: user_role
|
||||
value_key: id
|
Loading…
Add table
Add a link
Reference in a new issue