migrate_plus.migration.d7_allpublicfiles.yml 860 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. uuid: dc56e67a-4372-412e-8bba-18c623f22119
  2. langcode: en
  3. status: true
  4. dependencies: { }
  5. id: d7_allpublicfiles
  6. class: null
  7. field_plugin_method: null
  8. cck_plugin_method: null
  9. migration_tags:
  10. - 'Drupal 7'
  11. - Content
  12. - Materio
  13. - Files
  14. migration_group: d7_materio
  15. label: 'Public files'
  16. source:
  17. plugin: d7_pubic_file
  18. batch_size: 5000
  19. scheme: public
  20. constants:
  21. source_base_path: ../../../d7.materio.com/public_html
  22. process:
  23. filename: filename
  24. source_full_path:
  25. -
  26. plugin: concat
  27. delimiter: /
  28. source:
  29. - constants/source_base_path
  30. - filepath
  31. -
  32. plugin: urlencode
  33. uri:
  34. plugin: file_copy
  35. source:
  36. - '@source_full_path'
  37. - uri
  38. filemime: filemime
  39. status: status
  40. created: timestamp
  41. changed: timestamp
  42. uid: uid
  43. destination:
  44. plugin: 'entity:file'
  45. migration_dependencies: null