migrate_plus.migration.d7_allpublicfiles.yml 893 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. uuid: 08f56f89-ef1b-49ae-8321-61c164b21bc2
  2. langcode: en
  3. status: true
  4. dependencies: { }
  5. _core:
  6. default_config_hash: WjrNh29LxegDzfT9TlEVu3Bf21NE7GVnBJDWACIN3vg
  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_pubic_file
  18. scheme: public
  19. constants:
  20. source_base_path: ../../../d7.materio.com/public_html
  21. process:
  22. filename: filename
  23. source_full_path:
  24. -
  25. plugin: concat
  26. delimiter: /
  27. source:
  28. - constants/source_base_path
  29. - filepath
  30. -
  31. plugin: urlencode
  32. uri:
  33. plugin: file_copy
  34. source:
  35. - '@source_full_path'
  36. - uri
  37. filemime: filemime
  38. status: status
  39. created: timestamp
  40. changed: timestamp
  41. uid: uid
  42. destination:
  43. plugin: 'entity:file'
  44. migration_dependencies: null