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

46 lines
895 B
YAML

uuid: c1e53484-bbe6-4b84-9502-43c121efcce3
langcode: en
status: true
dependencies: { }
_core:
default_config_hash: IYawoGUko6BsA-SMRxVgInlCEULcmcNYwJB6p0MECRs
id: d7_allpublicfiles
class: null
field_plugin_method: null
cck_plugin_method: null
migration_tags:
- 'Drupal 7'
- Content
migration_group: d7_materio
label: 'Public files'
source:
plugin: d7_file
scheme: public
constants:
source_base_path: ../../d7.materio.com/public_html
process:
fid: fid
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