You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
1.1 KiB
65 lines
1.1 KiB
uuid: 9e10551e-5c41-4b34-a114-84ce6593ab26 |
|
langcode: en |
|
status: true |
|
dependencies: { } |
|
id: upgrade_d7_file_private |
|
class: Drupal\migrate\Plugin\Migration |
|
field_plugin_method: null |
|
cck_plugin_method: null |
|
migration_tags: |
|
- 'Drupal 7' |
|
- Content |
|
migration_group: migrate_drupal_7 |
|
label: 'Private files' |
|
source: |
|
plugin: d7_file |
|
scheme: private |
|
constants: |
|
source_base_path: 'https://library.upei.ca/' |
|
process: |
|
fid: |
|
- |
|
plugin: get |
|
source: fid |
|
filename: |
|
- |
|
plugin: get |
|
source: filename |
|
source_full_path: |
|
- |
|
plugin: concat |
|
delimiter: / |
|
source: |
|
- constants/source_base_path |
|
- filepath |
|
uri: |
|
- |
|
plugin: file_copy |
|
source: |
|
- '@source_full_path' |
|
- uri |
|
filemime: |
|
- |
|
plugin: get |
|
source: filemime |
|
status: |
|
- |
|
plugin: get |
|
source: status |
|
created: |
|
- |
|
plugin: get |
|
source: timestamp |
|
changed: |
|
- |
|
plugin: get |
|
source: timestamp |
|
uid: |
|
- |
|
plugin: get |
|
source: uid |
|
destination: |
|
plugin: 'entity:file' |
|
migration_dependencies: |
|
required: { } |
|
optional: { }
|
|
|