materio-d9/config/sync/migrate_plus.migration.d7_a...

47 lines
915 B
YAML

uuid: 8c9210cb-a99c-4ea9-b1ae-7cebab867e35
langcode: en
status: true
dependencies: { }
_core:
default_config_hash: s3vx8Rz_WiVJ7xdZk9aSaFRCIAvdHcywmrmhCKdAY6U
id: d7_allpublicfiles
class: null
field_plugin_method: null
cck_plugin_method: null
migration_tags:
- 'Drupal 7'
- Content
- Materio
- Files
migration_group: d7_materio
label: 'Public files'
source:
plugin: d7_pubic_file
scheme: public
constants:
source_base_path: ../../../d7.materio.com/public_html
process:
filename: filename
source_full_path:
-
plugin: concat
delimiter: /
source:
- constants/source_base_path
- filepath
-
plugin: urlencode
uri:
plugin: file_copy
source:
- '@source_full_path'
- uri
filemime: filemime
status: status
created: timestamp
changed: timestamp
uid: uid
destination:
plugin: 'entity:file'
migration_dependencies: null