You are here

d6_file.yml in Zircon Profile 8.0

Same filename and directory in other branches
  1. 8 core/modules/file/migration_templates/d6_file.yml
core/modules/file/migration_templates/d6_file.yml

File

core/modules/file/migration_templates/d6_file.yml
View source
  1. # Every migration that saves into {file_managed} must have the d6_file
  2. # migration as an optional dependency to ensure d6_file runs first.
  3. id: d6_file
  4. label: Files
  5. migration_tags:
  6. - Drupal 6
  7. source:
  8. plugin: d6_file
  9. process:
  10. fid: fid
  11. filename: filename
  12. uri:
  13. plugin: file_uri
  14. source:
  15. - filepath
  16. - file_directory_path
  17. - temp_directory_path
  18. - is_public
  19. filemime: filemime
  20. filesize: filesize
  21. status: status
  22. changed: timestamp
  23. uid: uid
  24. destination:
  25. plugin: entity:file
  26. urlencode: true