diff options
author | Nitesh Kumar Sinha | 2019-07-03 13:35:52 +0530 |
---|---|---|
committer | GitHub | 2019-07-03 13:35:52 +0530 |
commit | 5773bf53a42a2db3a688a7b7e2eedf911a40c29f (patch) | |
tree | 8fd529d45e37612de276b07be5caaa7335114c9a /modules/fahad/fac_page/config/install/migrate_plus.migration.FACULTY MIGRATIONS.yml | |
parent | 0d50e51638dac37bb5133b5024f2e44811e2745e (diff) | |
parent | fd04311179377ce2b4c5697be2ae2a2b51a1b2f3 (diff) | |
download | acadmix_distribution-5773bf53a42a2db3a688a7b7e2eedf911a40c29f.tar.gz acadmix_distribution-5773bf53a42a2db3a688a7b7e2eedf911a40c29f.tar.bz2 acadmix_distribution-5773bf53a42a2db3a688a7b7e2eedf911a40c29f.zip |
Merge pull request #17 from fahad-israr/master
Fahad Migration and View Files Concatenation
Diffstat (limited to 'modules/fahad/fac_page/config/install/migrate_plus.migration.FACULTY MIGRATIONS.yml')
-rw-r--r-- | modules/fahad/fac_page/config/install/migrate_plus.migration.FACULTY MIGRATIONS.yml | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/modules/fahad/fac_page/config/install/migrate_plus.migration.FACULTY MIGRATIONS.yml b/modules/fahad/fac_page/config/install/migrate_plus.migration.FACULTY MIGRATIONS.yml new file mode 100644 index 0000000..82de622 --- /dev/null +++ b/modules/fahad/fac_page/config/install/migrate_plus.migration.FACULTY MIGRATIONS.yml @@ -0,0 +1,52 @@ +langcode: en +status: true +dependencies: { } +id: 'FACULTY MIGRATIONS' +class: null +field_plugin_method: null +cck_plugin_method: null +migration_tags: null +migration_group: null +label: 'Custom Content migration from CSV faculty' +source: + plugin: csv + path: /var/www/html/project/docroot/faculty.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: fac_page + source_path: + - + plugin: skip_on_empty + method: process + source: phuto + - + plugin: concat + delimiter: / + source: + - constants/file_source + - phuto + title: title + field_email_new: email + field_full_name: name + field_faculty_photo: + plugin: file_import + source: '@source_path' + destination: constants/file_dest + field_department: + - + plugin: entity_lookup + entity_type: node + bundle: department + source: entity_ref +destination: + plugin: 'entity:node' +migration_dependencies: + required: { } + optional: { } |