90 lines
1.8 KiB
YAML
90 lines
1.8 KiB
YAML
|
uuid: 20b9553f-981f-483e-a997-10d932905026
|
||
|
langcode: en
|
||
|
status: true
|
||
|
dependencies: { }
|
||
|
_core:
|
||
|
default_config_hash: 3JaOIJug248HhFZJwv4iL-o3Na6-pzQKfvEzHZ4rPZw
|
||
|
id: d7_users
|
||
|
class: Drupal\user\Plugin\migrate\User
|
||
|
field_plugin_method: null
|
||
|
cck_plugin_method: null
|
||
|
migration_tags:
|
||
|
- 'Drupal 7'
|
||
|
- Content
|
||
|
migration_group: d7_materio
|
||
|
label: 'User accounts'
|
||
|
source:
|
||
|
plugin: d7_user
|
||
|
process:
|
||
|
name: name
|
||
|
pass: pass
|
||
|
mail:
|
||
|
-
|
||
|
plugin: skip_on_value
|
||
|
equals: true
|
||
|
source: mail
|
||
|
method: row
|
||
|
value:
|
||
|
- dev@g-u-i.net
|
||
|
- admin@g-u-i.net
|
||
|
-
|
||
|
plugin: default_value
|
||
|
source: mail
|
||
|
default_value: null
|
||
|
created: created
|
||
|
access: access
|
||
|
login: login
|
||
|
status: status
|
||
|
timezone: timezone
|
||
|
langcode:
|
||
|
plugin: user_langcode
|
||
|
source: entity_language
|
||
|
fallback_to_site_default: false
|
||
|
preferred_langcode:
|
||
|
plugin: user_langcode
|
||
|
source: language
|
||
|
fallback_to_site_default: true
|
||
|
preferred_admin_langcode:
|
||
|
plugin: user_langcode
|
||
|
source: language
|
||
|
fallback_to_site_default: true
|
||
|
init: init
|
||
|
roles:
|
||
|
plugin: static_map
|
||
|
source: roles
|
||
|
default_value: 2
|
||
|
map:
|
||
|
1: anonymous
|
||
|
2: authenticated
|
||
|
3: admin
|
||
|
4: root
|
||
|
5: contact_company
|
||
|
6: adherent
|
||
|
7: free_user
|
||
|
8: premium
|
||
|
9: unverified
|
||
|
10: student
|
||
|
11: alpha_testeur
|
||
|
12: translator
|
||
|
13: admin_showroom
|
||
|
user_picture:
|
||
|
-
|
||
|
plugin: default_value
|
||
|
source: picture
|
||
|
default_value: null
|
||
|
-
|
||
|
plugin: migration_lookup
|
||
|
migration: d7_file
|
||
|
field_company:
|
||
|
plugin: migration_lookup
|
||
|
migration: d7_taxonomy_term_company
|
||
|
source: field_company
|
||
|
field_showroom:
|
||
|
plugin: migration_lookup
|
||
|
migration: d7_taxonomy_term_showroom
|
||
|
source: field_showroom
|
||
|
field_memo: field_memo
|
||
|
destination:
|
||
|
plugin: 'entity:user'
|
||
|
migration_dependencies: null
|