migrate all files; node materiau field_materiau_images; view files
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
uuid: e9e634ba-e831-4c89-8b64-5997702fbff5
|
||||
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
|
||||
Reference in New Issue
Block a user