user_picture_field.yml

Same filename in other branches
  1. 8.9.x core/modules/user/migrations/user_picture_field.yml
  2. 10 core/modules/user/migrations/user_picture_field.yml
  3. 11.x core/modules/user/migrations/user_picture_field.yml
core/modules/user/migrations/user_picture_field.yml

File

core/modules/user/migrations/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. - Configuration
  7. source:
  8. # We do an empty source and a proper destination to have an ID map for
  9. # dependencies.
  10. plugin: md_empty
  11. constants:
  12. entity_type: user
  13. type: image
  14. name: user_picture
  15. cardinality: 1
  16. source_module: user
  17. process:
  18. entity_type: 'constants/entity_type'
  19. field_name: 'constants/name'
  20. type: 'constants/type'
  21. cardinality: 'constants/cardinality'
  22. destination:
  23. plugin: entity:field_storage_config
  24. dependencies:
  25. module:
  26. - image

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.