You are here

d6_upload.yml in Drupal 8

Same filename and directory in other branches
  1. 9 core/modules/file/migrations/d6_upload.yml
core/modules/file/migrations/d6_upload.yml

File

core/modules/file/migrations/d6_upload.yml
View source
  1. id: d6_upload
  2. label: File uploads
  3. migration_tags:
  4. - Drupal 6
  5. - Content
  6. source:
  7. plugin: d6_upload
  8. process:
  9. nid: nid
  10. vid: vid
  11. langcode:
  12. plugin: user_langcode
  13. source: language
  14. fallback_to_site_default: true
  15. type: type
  16. upload:
  17. plugin: sub_process
  18. source: upload
  19. process:
  20. target_id:
  21. plugin: migration_lookup
  22. migration: d6_file
  23. source: fid
  24. display: list
  25. description: description
  26. destination:
  27. plugin: entity:node
  28. migration_dependencies:
  29. required:
  30. - d6_file
  31. - d6_node
  32. - d6_upload_field_instance