migrate_plus.migration.d7_allpublicfiles.yml 900 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. uuid: f5398c96-5eb8-4e71-abad-0293ecdbf0d5
  2. langcode: fr
  3. status: true
  4. dependencies: { }
  5. _core:
  6. default_config_hash: Y-MrRS7-axq8h57tbPZAD5kWEoD7HyDvUcXUMYo5Osw
  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. - Popsu
  15. - Files
  16. migration_group: popsu
  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
  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