mirror of
https://github.com/tag1consulting/d7_to_d10_migration.git
synced 2025-01-12 23:24:34 +00:00
Add upgrade_d7_user content migration
Copied from ref_migrations folder
This commit is contained in:
parent
93871bb6ef
commit
5e39868e2a
1 changed files with 96 additions and 0 deletions
|
@ -0,0 +1,96 @@
|
|||
uuid: 0d03a681-dd7c-46f6-a9d9-0fc82b8525d2
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d7_user
|
||||
class: Drupal\user\Plugin\migrate\User
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Content
|
||||
migration_group: migrate_drupal_7
|
||||
label: 'User accounts'
|
||||
source:
|
||||
plugin: d7_user
|
||||
process:
|
||||
uid:
|
||||
-
|
||||
plugin: get
|
||||
source: uid
|
||||
name:
|
||||
-
|
||||
plugin: get
|
||||
source: name
|
||||
pass:
|
||||
-
|
||||
plugin: get
|
||||
source: pass
|
||||
mail:
|
||||
-
|
||||
plugin: get
|
||||
source: mail
|
||||
created:
|
||||
-
|
||||
plugin: get
|
||||
source: created
|
||||
access:
|
||||
-
|
||||
plugin: get
|
||||
source: access
|
||||
login:
|
||||
-
|
||||
plugin: get
|
||||
source: login
|
||||
status:
|
||||
-
|
||||
plugin: get
|
||||
source: status
|
||||
timezone:
|
||||
-
|
||||
plugin: get
|
||||
source: 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:
|
||||
-
|
||||
plugin: get
|
||||
source: init
|
||||
roles:
|
||||
-
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d7_user_role
|
||||
source: roles
|
||||
user_picture:
|
||||
-
|
||||
plugin: default_value
|
||||
source: picture
|
||||
default_value: null
|
||||
-
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d7_file
|
||||
destination:
|
||||
plugin: 'entity:user'
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d7_user_role
|
||||
optional:
|
||||
- upgrade_d7_field_instance
|
||||
- upgrade_d7_file
|
||||
- upgrade_user_picture_field_instance
|
||||
- upgrade_user_picture_entity_display
|
||||
- upgrade_user_picture_entity_form_display
|
||||
- upgrade_d7_user_role
|
Loading…
Reference in a new issue