mirror of
https://github.com/tag1consulting/d7_to_d10_migration.git
synced 2025-01-12 23:24:34 +00:00
Customize upgrade_d7_user migration
This commit is contained in:
parent
5e39868e2a
commit
fc1d44d42c
1 changed files with 19 additions and 17 deletions
|
@ -1,18 +1,17 @@
|
||||||
uuid: 0d03a681-dd7c-46f6-a9d9-0fc82b8525d2
|
|
||||||
langcode: en
|
|
||||||
status: true
|
|
||||||
dependencies: { }
|
|
||||||
id: upgrade_d7_user
|
id: upgrade_d7_user
|
||||||
class: Drupal\user\Plugin\migrate\User
|
class: Drupal\user\Plugin\migrate\User
|
||||||
field_plugin_method: null
|
|
||||||
cck_plugin_method: null
|
|
||||||
migration_tags:
|
migration_tags:
|
||||||
- 'Drupal 7'
|
- 'Drupal 7'
|
||||||
- Content
|
- Content
|
||||||
migration_group: migrate_drupal_7
|
- user
|
||||||
|
- tag1_content
|
||||||
label: 'User accounts'
|
label: 'User accounts'
|
||||||
source:
|
source:
|
||||||
|
key: migrate
|
||||||
plugin: d7_user
|
plugin: d7_user
|
||||||
|
high_water_property:
|
||||||
|
name: changed
|
||||||
|
alias: u
|
||||||
process:
|
process:
|
||||||
uid:
|
uid:
|
||||||
-
|
-
|
||||||
|
@ -34,6 +33,10 @@ process:
|
||||||
-
|
-
|
||||||
plugin: get
|
plugin: get
|
||||||
source: created
|
source: created
|
||||||
|
changed:
|
||||||
|
-
|
||||||
|
plugin: get
|
||||||
|
source: changed
|
||||||
access:
|
access:
|
||||||
-
|
-
|
||||||
plugin: get
|
plugin: get
|
||||||
|
@ -44,8 +47,10 @@ process:
|
||||||
source: login
|
source: login
|
||||||
status:
|
status:
|
||||||
-
|
-
|
||||||
plugin: get
|
plugin: skip_on_empty
|
||||||
source: status
|
source: status
|
||||||
|
method: row
|
||||||
|
message: 'User was not migrated because the account is blocked.'
|
||||||
timezone:
|
timezone:
|
||||||
-
|
-
|
||||||
plugin: get
|
plugin: get
|
||||||
|
@ -71,9 +76,12 @@ process:
|
||||||
source: init
|
source: init
|
||||||
roles:
|
roles:
|
||||||
-
|
-
|
||||||
plugin: migration_lookup
|
plugin: static_map
|
||||||
migration: upgrade_d7_user_role
|
|
||||||
source: roles
|
source: roles
|
||||||
|
map:
|
||||||
|
3: administrator
|
||||||
|
4: content_editor
|
||||||
|
bypass: TRUE
|
||||||
user_picture:
|
user_picture:
|
||||||
-
|
-
|
||||||
plugin: default_value
|
plugin: default_value
|
||||||
|
@ -86,11 +94,5 @@ destination:
|
||||||
plugin: 'entity:user'
|
plugin: 'entity:user'
|
||||||
migration_dependencies:
|
migration_dependencies:
|
||||||
required:
|
required:
|
||||||
- upgrade_d7_user_role
|
|
||||||
optional:
|
|
||||||
- upgrade_d7_field_instance
|
|
||||||
- upgrade_d7_file
|
- upgrade_d7_file
|
||||||
- upgrade_user_picture_field_instance
|
optional: { }
|
||||||
- upgrade_user_picture_entity_display
|
|
||||||
- upgrade_user_picture_entity_form_display
|
|
||||||
- upgrade_d7_user_role
|
|
||||||
|
|
Loading…
Reference in a new issue