Mercurial > hg > isophonics-drupal-site
diff core/modules/user/migrations/d7_user.yml @ 14:1fec387a4317
Update Drupal core to 8.5.2 via Composer
author | Chris Cannam |
---|---|
date | Mon, 23 Apr 2018 09:46:53 +0100 |
parents | |
children | 129ea1e6d783 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/core/modules/user/migrations/d7_user.yml Mon Apr 23 09:46:53 2018 +0100 @@ -0,0 +1,59 @@ +id: d7_user +label: User accounts +audit: true +migration_tags: + - Drupal 7 + - Content +class: Drupal\user\Plugin\migrate\User +source: + plugin: d7_user +process: + # If you are using this file to build a custom migration consider removing + # the uid field to allow incremental migrations. + uid: uid + name: name + pass: pass + mail: mail + created: created + access: access + login: login + status: status + timezone: timezone + langcode: + plugin: user_langcode + source: 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: migration_lookup + migration: d7_user_role + source: roles + user_picture: + - + plugin: default_value + source: picture + default_value: null + - + plugin: migration_lookup + migration: d7_file +destination: + plugin: entity:user +migration_dependencies: + required: + - d7_user_role + optional: + - d7_field_instance + - d7_file + - language + - default_language + - user_picture_field_instance + - user_picture_entity_display + - user_picture_entity_form_display