popsu_migrate: d7_users ok
This commit is contained in:
64
config/sync/migrate_plus.migration.d7_users.yml
Normal file
64
config/sync/migrate_plus.migration.d7_users.yml
Normal file
@@ -0,0 +1,64 @@
|
||||
uuid: 17350b9c-18b6-4716-b944-c09e2dd67163
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
_core:
|
||||
default_config_hash: 7HNGRfzA6vYrhJVsS7Wm-d_g6sucSx6c_K48dpghcks
|
||||
id: d7_users
|
||||
class: null
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Content
|
||||
- Popsu
|
||||
migration_group: popsu
|
||||
label: 'User accounts'
|
||||
source:
|
||||
plugin: d7_users
|
||||
batch_size: 1000
|
||||
process:
|
||||
name: name
|
||||
pass: pass
|
||||
mail:
|
||||
-
|
||||
plugin: skip_on_value
|
||||
equals: true
|
||||
source: mail
|
||||
method: row
|
||||
value:
|
||||
- manager-popsu@renaud-cuny.com
|
||||
-
|
||||
plugin: default_value
|
||||
source: mail
|
||||
default_value: null
|
||||
created: created
|
||||
access: access
|
||||
login: login
|
||||
status: status
|
||||
timezone: timezone
|
||||
init: init
|
||||
roles:
|
||||
-
|
||||
plugin: skip_on_value
|
||||
equals: true
|
||||
source: roles
|
||||
method: row
|
||||
value:
|
||||
- 5
|
||||
- 3
|
||||
-
|
||||
plugin: static_map
|
||||
source: roles
|
||||
default_value: 2
|
||||
map:
|
||||
1: anonymous
|
||||
2: authenticated
|
||||
3: admin
|
||||
4: editeur
|
||||
5: root
|
||||
destination:
|
||||
plugin: 'entity:user'
|
||||
migration_dependencies:
|
||||
required:
|
||||
- d7_allpublicfiles
|
||||
Reference in New Issue
Block a user