user_profile_field_instance.yml in Drupal 9
Same filename and directory in other branches
core/modules/user/migrations/user_profile_field_instance.yml
File
core/modules/user/migrations/user_profile_field_instance.ymlView source
- id: user_profile_field_instance
- label: User profile field instance configuration
- migration_tags:
- - Drupal 6
- - Drupal 7
- - Configuration
- source:
- plugin: profile_field
- constants:
- entity_type: user
- bundle: user
- process:
- entity_type: 'constants/entity_type'
- bundle: 'constants/bundle'
- label: title
- description: explanation
- field_name:
- -
- plugin: migration_lookup
- migration: user_profile_field
- source: fid
- -
- plugin: skip_on_empty
- method: row
- -
- plugin: extract
- index:
- - 1
- required: required
- destination:
- plugin: entity:field_config
- migration_dependencies:
- required:
- - user_profile_field