migrate_plus.migration.d7_allpublicfiles.yml 915 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. uuid: df4b3c36-96d1-4eb9-bfdb-713871e800b2
  2. langcode: en
  3. status: true
  4. dependencies: { }
  5. _core:
  6. default_config_hash: s3vx8Rz_WiVJ7xdZk9aSaFRCIAvdHcywmrmhCKdAY6U
  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. - Materio
  15. - Files
  16. migration_group: d7_materio
  17. label: 'Public files'
  18. source:
  19. plugin: d7_pubic_file
  20. scheme: public
  21. constants:
  22. source_base_path: ../../../d7.materio.com/public_html
  23. process:
  24. filename: filename
  25. source_full_path:
  26. -
  27. plugin: concat
  28. delimiter: /
  29. source:
  30. - constants/source_base_path
  31. - filepath
  32. -
  33. plugin: urlencode
  34. uri:
  35. plugin: file_copy
  36. source:
  37. - '@source_full_path'
  38. - uri
  39. filemime: filemime
  40. status: status
  41. created: timestamp
  42. changed: timestamp
  43. uid: uid
  44. destination:
  45. plugin: 'entity:file'
  46. migration_dependencies: null