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.
67 lines
1.1 KiB
67 lines
1.1 KiB
uuid: 011bef42-3db2-4864-8806-8830e28c0dbe |
|
langcode: en |
|
status: true |
|
dependencies: { } |
|
id: upgrade_d7_file |
|
class: Drupal\migrate\Plugin\Migration |
|
field_plugin_method: null |
|
cck_plugin_method: null |
|
migration_tags: |
|
- 'Drupal 7' |
|
- Content |
|
migration_group: migrate_drupal_7 |
|
label: 'Public files' |
|
source: |
|
plugin: d7_file |
|
scheme: public |
|
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 |
|
- |
|
plugin: urlencode |
|
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: { }
|
|
|