migrate_plus.migration.d6_edlp_allfiles.yml 756 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. id: d6_edlp_allfiles
  2. label: 'Edlp Drupal 6 mp3 migration'
  3. migration_tags:
  4. - 'Drupal 6'
  5. migration_group: d6_edlp
  6. source:
  7. plugin: d6_edlp_file
  8. constants:
  9. source_base_path: ../drupal6
  10. process:
  11. fid: fid
  12. filename: filename
  13. source_full_path:
  14. -
  15. plugin: concat
  16. delimiter: /
  17. source:
  18. - constants/source_base_path
  19. - filepath
  20. -
  21. plugin: urlencode
  22. destination_full_path:
  23. plugin: file_uri
  24. source:
  25. - filepath
  26. - file_directory_path
  27. - temp_directory_path
  28. - is_public
  29. uri:
  30. plugin: file_copy
  31. source:
  32. - '@source_full_path'
  33. - '@destination_full_path'
  34. filemime: filemime
  35. status: status
  36. changed: timestamp
  37. uid: uid
  38. destination:
  39. plugin: 'entity:file'