diff options
author | Nitesh Kumar Sinha | 2019-08-19 11:14:26 +0530 |
---|---|---|
committer | GitHub | 2019-08-19 11:14:26 +0530 |
commit | f8d43f51937aae5240b2885108fd08efab768155 (patch) | |
tree | 998c1d749bf3533d24a4799b53c79413dfce7eba /modules/fahad/facility/config/install/migrate_plus.migration.facilities.yml | |
parent | 58dbf8fcb04c01c338b9e346b8266690c8b92a2f (diff) | |
parent | 67eeae320422623bc2873b2c00afb8b29ec6160e (diff) | |
download | acadmix_distribution-f8d43f51937aae5240b2885108fd08efab768155.tar.gz acadmix_distribution-f8d43f51937aae5240b2885108fd08efab768155.tar.bz2 acadmix_distribution-f8d43f51937aae5240b2885108fd08efab768155.zip |
merge with Stage
Diffstat (limited to 'modules/fahad/facility/config/install/migrate_plus.migration.facilities.yml')
-rw-r--r-- | modules/fahad/facility/config/install/migrate_plus.migration.facilities.yml | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/modules/fahad/facility/config/install/migrate_plus.migration.facilities.yml b/modules/fahad/facility/config/install/migrate_plus.migration.facilities.yml new file mode 100644 index 0000000..37ea4de --- /dev/null +++ b/modules/fahad/facility/config/install/migrate_plus.migration.facilities.yml @@ -0,0 +1,46 @@ +langcode: en +status: true +dependencies: { } +id: facilities +class: null +field_plugin_method: null +cck_plugin_method: null +migration_tags: null +migration_group: null +label: 'Custom Content migration from CSV Facility' +source: + plugin: csv + path: /var/www/html/project/docroot/facility.csv + header_row_count: 1 + keys: + - id + constants: + file_source: /var/www/html/project/docroot/fac_images + file_dest: 'public://fac_images/' +process: + type: + plugin: default_value + default_value: facility + source_path: + - + plugin: skip_on_empty + method: process + source: phuto + - + plugin: concat + delimiter: / + source: + - constants/file_source + - phuto + title: title + body: body + field_facility_: email + field_facility_image: + plugin: file_import + source: '@source_path' + destination: constants/file_dest +destination: + plugin: 'entity:node' +migration_dependencies: + required: { } + optional: { } |