migrate_plus.migration.d7_allpublicfiles.yml 898 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. uuid: b36055e0-99e2-4536-baab-22edee5e1e81
  2. langcode: en
  3. status: true
  4. dependencies: { }
  5. _core:
  6. default_config_hash: DXcmWNRxncWda1nce07h8YOm09s5sqq-Yd_mBSsr5aM
  7. id: d7_allpublicfiles
  8. class: null
  9. field_plugin_method: null
  10. cck_plugin_method: null
  11. migration_tags:
  12. - 'Drupal 7'
  13. - Content
  14. migration_group: d7_materio
  15. label: 'Public files'
  16. source:
  17. plugin: d7_file
  18. scheme: public
  19. constants:
  20. source_base_path: ../../../d7.materio.com/public_html
  21. process:
  22. fid: fid
  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