You are here

d6_upload_field_instance.yml in Drupal 9

Same filename and directory in other branches
  1. 8 core/modules/file/migrations/d6_upload_field_instance.yml
core/modules/file/migrations/d6_upload_field_instance.yml

File

core/modules/file/migrations/d6_upload_field_instance.yml
View source
  1. id: d6_upload_field_instance
  2. label: Upload field instance configuration
  3. migration_tags:
  4. - Drupal 6
  5. - Configuration
  6. source:
  7. plugin: d6_upload_instance
  8. constants:
  9. entity_type: node
  10. name: upload
  11. settings:
  12. description_field: 1
  13. process:
  14. entity_type: 'constants/entity_type'
  15. bundle:
  16. -
  17. plugin: migration_lookup
  18. migration: d6_node_type
  19. source: node_type
  20. -
  21. plugin: skip_on_empty
  22. method: row
  23. field_name: 'constants/name'
  24. settings: 'constants/settings'
  25. 'settings/file_extensions': file_extensions
  26. 'settings/max_filesize': max_filesize
  27. destination:
  28. plugin: entity:field_config
  29. migration_dependencies:
  30. required:
  31. - d6_upload_field
  32. - d6_node_type