started popsu_migrate module
This commit is contained in:
47
config/sync/migrate_plus.migration.d7_allpublicfiles.yml
Normal file
47
config/sync/migrate_plus.migration.d7_allpublicfiles.yml
Normal file
@@ -0,0 +1,47 @@
|
||||
uuid: 101cfd3b-9212-4433-9848-30b4222281ee
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
_core:
|
||||
default_config_hash: XagShwkgw7JHJgs5_hzHHgOo5FszkzhugcQ7yf4F29U
|
||||
id: d7_allpublicfiles
|
||||
class: null
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Content
|
||||
- Popsu
|
||||
- Files
|
||||
migration_group: d7_popsu
|
||||
label: 'Public files'
|
||||
source:
|
||||
plugin: d7_pubic_file
|
||||
batch_size: 5000
|
||||
scheme: public
|
||||
constants:
|
||||
source_base_path: ../../../d7
|
||||
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
|
||||
Reference in New Issue
Block a user