d6_upload_entity_display.yml

Same filename in other branches
  1. 9 core/modules/file/migrations/d6_upload_entity_display.yml
  2. 8.9.x core/modules/file/migrations/d6_upload_entity_display.yml
  3. 11.x core/modules/file/migrations/d6_upload_entity_display.yml
core/modules/file/migrations/d6_upload_entity_display.yml

File

core/modules/file/migrations/d6_upload_entity_display.yml

View source
  1. id: d6_upload_entity_display
  2. label: Upload display configuration
  3. migration_tags:
  4. - Drupal 6
  5. - Configuration
  6. source:
  7. plugin: d6_upload_instance
  8. constants:
  9. entity_type: node
  10. view_mode: default
  11. name: upload
  12. type: file_default
  13. options:
  14. label: hidden
  15. settings: {}
  16. process:
  17. entity_type: 'constants/entity_type'
  18. bundle:
  19. -
  20. plugin: migration_lookup
  21. migration: d6_node_type
  22. source: node_type
  23. -
  24. plugin: skip_on_empty
  25. method: row
  26. view_mode: 'constants/view_mode'
  27. field_name: 'constants/name'
  28. type: 'constants/type'
  29. options: 'constants/options'
  30. 'options/type': '@type'
  31. destination:
  32. plugin: component_entity_display
  33. migration_dependencies:
  34. required:
  35. - d6_upload_field_instance

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