user_picture_field.yml in Zircon Profile 8
Same filename and directory in other branches
core/modules/user/migration_templates/user_picture_field.yml
File
core/modules/user/migration_templates/user_picture_field.ymlView source
- id: user_picture_field
- label: User picture field configuration
- migration_tags:
- - Drupal 6
- - Drupal 7
- source:
- # We do an empty source and a proper destination to have an idmap for
- # dependencies.
- plugin: md_empty
- constants:
- entity_type: user
- type: image
- name: user_picture
- cardinality: 1
- process:
- entity_type: 'constants/entity_type'
- field_name: 'constants/name'
- type: 'constants/type'
- cardinality: 'constants/cardinality'
- destination:
- plugin: md_entity:field_storage_config