You are here

user_picture_field_instance.yml in Zircon Profile 8

core/modules/user/migration_templates/user_picture_field_instance.yml

File

core/modules/user/migration_templates/user_picture_field_instance.yml
View source
  1. id: user_picture_field_instance
  2. label: User picture field instance configuration
  3. migration_tags:
  4. - Drupal 6
  5. - Drupal 7
  6. source:
  7. plugin: user_picture_instance
  8. constants:
  9. entity_type: user
  10. bundle: user
  11. name: user_picture
  12. settings:
  13. file_extensions: 'png gif jpg jpeg'
  14. alt_field: false
  15. title_field: false
  16. min_resolution: ''
  17. alt_field_required: false
  18. title_field_required: false
  19. process:
  20. entity_type: 'constants/entity_type'
  21. bundle: 'constants/bundle'
  22. field_name: 'constants/name'
  23. settings: 'constants/settings'
  24. 'settings/file_directory': file_directory
  25. 'settings/max_filesize': max_filesize
  26. 'settings/max_resolution': max_resolution
  27. destination:
  28. plugin: entity:field_config
  29. migration_dependencies:
  30. required:
  31. - user_picture_field