Initial Commit

This commit is contained in:
David Valdez 2019-07-17 14:47:01 -05:00
parent f12d7a2aee
commit 2d5f7a8bfd
405 changed files with 29200 additions and 1 deletions

View file

@ -0,0 +1,61 @@
id: upgrade_d7_file
langcode: en
migration_group: migrate_drupal_7_geo
migration_tags:
- 'Drupal 7'
- Content
label: 'Geo Public files'
source:
plugin: d7_file
scheme: public
constants:
source_base_path: '/var/www/html/d7/'
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: { }