diff --git a/drupal10/web/modules/custom/tag1_migration/migrations/upgrade_d7_user.yml b/drupal10/web/modules/custom/tag1_migration/migrations/upgrade_d7_user.yml new file mode 100644 index 0000000..bad2e91 --- /dev/null +++ b/drupal10/web/modules/custom/tag1_migration/migrations/upgrade_d7_user.yml @@ -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