You are here

d6_upload_field.yml in Drupal 10

core/modules/file/migrations/d6_upload_field.yml

File

core/modules/file/migrations/d6_upload_field.yml
View source
  1. id: d6_upload_field
  2. label: Upload field configuration
  3. migration_tags:
  4. - Drupal 6
  5. - Configuration
  6. source:
  7. # We do an empty source and a proper destination to have an ID map for
  8. # migration_dependencies.
  9. plugin: md_empty
  10. source_module: upload
  11. constants:
  12. entity_type: node
  13. type: file
  14. name: upload
  15. cardinality: -1
  16. display_field: true
  17. process:
  18. entity_type: 'constants/entity_type'
  19. field_name: 'constants/name'
  20. type: 'constants/type'
  21. cardinality: 'constants/cardinality'
  22. 'settings/display_field': 'constants/display_field'
  23. destination:
  24. plugin: entity:field_storage_config
  25. dependencies:
  26. module:
  27. - file