d7_user.yml in Drupal 10
Same filename and directory in other branches
core/modules/user/migrations/d7_user.yml
File
core/modules/user/migrations/d7_user.ymlView source
- 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: 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: 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