You are here

user_picture_field.yml in Zircon Profile 8

Same filename and directory in other branches
  1. 8.0 core/modules/user/migration_templates/user_picture_field.yml
core/modules/user/migration_templates/user_picture_field.yml

File

core/modules/user/migration_templates/user_picture_field.yml
View source
  1. id: user_picture_field
  2. label: User picture field configuration
  3. migration_tags:
  4. - Drupal 6
  5. - Drupal 7
  6. source:
  7. # We do an empty source and a proper destination to have an idmap for
  8. # dependencies.
  9. plugin: md_empty
  10. constants:
  11. entity_type: user
  12. type: image
  13. name: user_picture
  14. cardinality: 1
  15. process:
  16. entity_type: 'constants/entity_type'
  17. field_name: 'constants/name'
  18. type: 'constants/type'
  19. cardinality: 'constants/cardinality'
  20. destination:
  21. plugin: md_entity:field_storage_config