migrate_plus.migration.d7_allpublicfiles.yml 934 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. uuid: dcb4548c-dc78-4a94-95d3-87bbe043c53b
  2. langcode: en
  3. status: true
  4. dependencies: { }
  5. _core:
  6. default_config_hash: _R1mGCGtQpx6FBB0Ar7k7M5nPIVY1-SMuCtcAd34XuE
  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. batch_size: 5000
  21. scheme: public
  22. constants:
  23. source_base_path: ../../../d7.materio.com/public_html
  24. process:
  25. filename: filename
  26. source_full_path:
  27. -
  28. plugin: concat
  29. delimiter: /
  30. source:
  31. - constants/source_base_path
  32. - filepath
  33. -
  34. plugin: urlencode
  35. uri:
  36. plugin: file_copy
  37. source:
  38. - '@source_full_path'
  39. - uri
  40. filemime: filemime
  41. status: status
  42. created: timestamp
  43. changed: timestamp
  44. uid: uid
  45. destination:
  46. plugin: 'entity:file'
  47. migration_dependencies: null