2015-08-27 20:53:58 +00:00
|
|
|
id: d7_user
|
2015-09-10 17:29:44 +00:00
|
|
|
label: User accounts
|
Issue #2876085 by heddn, maxocub, phenaproxima, Jo Fitzgerald, vasi, quietone, yoroy, masipila, larowlan, neclimdul, krystalcode, catch: Before upgrading, audit for potential ID conflicts
2017-12-15 22:36:36 +00:00
|
|
|
audit: true
|
2015-08-27 20:53:58 +00:00
|
|
|
migration_tags:
|
|
|
|
- Drupal 7
|
Issue #2711099 by heddn, Jo Fitzgerald, edysmp, edgewl2, alexpott, Charlotte17, mikeryan, masipila, quietone, maxocub, phenaproxima: Categorize migrations according to their type
2018-02-15 06:27:23 +00:00
|
|
|
- Content
|
2016-03-14 12:16:40 +00:00
|
|
|
class: Drupal\user\Plugin\migrate\User
|
2015-08-27 20:53:58 +00:00
|
|
|
source:
|
|
|
|
plugin: d7_user
|
|
|
|
process:
|
2016-11-03 15:13:40 +00:00
|
|
|
# If you are using this file to build a custom migration consider removing
|
|
|
|
# the uid field to allow incremental migrations.
|
2015-08-27 20:53:58 +00:00
|
|
|
uid: uid
|
|
|
|
name: name
|
|
|
|
pass: pass
|
|
|
|
mail: mail
|
|
|
|
created: created
|
|
|
|
access: access
|
|
|
|
login: login
|
|
|
|
status: status
|
|
|
|
timezone: timezone
|
2016-10-12 10:59:25 +00:00
|
|
|
langcode:
|
|
|
|
plugin: user_langcode
|
2018-08-21 11:15:13 +00:00
|
|
|
source: entity_language
|
2016-10-12 10:59:25 +00:00
|
|
|
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
|
2015-08-27 20:53:58 +00:00
|
|
|
init: init
|
|
|
|
roles:
|
2017-04-28 14:05:10 +00:00
|
|
|
plugin: migration_lookup
|
2015-08-27 20:53:58 +00:00
|
|
|
migration: d7_user_role
|
|
|
|
source: roles
|
2015-09-02 16:41:13 +00:00
|
|
|
user_picture:
|
2015-09-03 17:00:12 +00:00
|
|
|
-
|
|
|
|
plugin: default_value
|
|
|
|
source: picture
|
|
|
|
default_value: null
|
|
|
|
-
|
2017-04-28 14:05:10 +00:00
|
|
|
plugin: migration_lookup
|
2015-09-03 17:00:12 +00:00
|
|
|
migration: d7_file
|
2015-08-27 20:53:58 +00:00
|
|
|
destination:
|
|
|
|
plugin: entity:user
|
|
|
|
migration_dependencies:
|
|
|
|
required:
|
|
|
|
- d7_user_role
|
|
|
|
optional:
|
2017-01-17 11:22:02 +00:00
|
|
|
- d7_field_instance
|
2015-08-27 20:53:58 +00:00
|
|
|
- d7_file
|
2016-10-12 10:59:25 +00:00
|
|
|
- language
|
|
|
|
- default_language
|
2015-08-27 20:53:58 +00:00
|
|
|
- user_picture_field_instance
|
|
|
|
- user_picture_entity_display
|
|
|
|
- user_picture_entity_form_display
|