summaryrefslogtreecommitdiff
path: root/modules/mansimran/fest/config/install/migrate_plus.migration.fest_1.yml
diff options
context:
space:
mode:
authorMansimran72019-07-02 12:16:59 +0530
committerMansimran72019-07-02 12:16:59 +0530
commit4e585c030ed6b5ea73b77a696a78f8855d9a26d8 (patch)
treea9dd98d2648c35aa2357eb7bc473469f6cc8d417 /modules/mansimran/fest/config/install/migrate_plus.migration.fest_1.yml
parent3ad1b8d590d7d11d83e8c923970690900dc31f70 (diff)
downloadacadmix_distribution-4e585c030ed6b5ea73b77a696a78f8855d9a26d8.tar.gz
acadmix_distribution-4e585c030ed6b5ea73b77a696a78f8855d9a26d8.tar.bz2
acadmix_distribution-4e585c030ed6b5ea73b77a696a78f8855d9a26d8.zip
pushing all custom modules
Diffstat (limited to 'modules/mansimran/fest/config/install/migrate_plus.migration.fest_1.yml')
-rw-r--r--modules/mansimran/fest/config/install/migrate_plus.migration.fest_1.yml65
1 files changed, 65 insertions, 0 deletions
diff --git a/modules/mansimran/fest/config/install/migrate_plus.migration.fest_1.yml b/modules/mansimran/fest/config/install/migrate_plus.migration.fest_1.yml
new file mode 100644
index 0000000..64317eb
--- /dev/null
+++ b/modules/mansimran/fest/config/install/migrate_plus.migration.fest_1.yml
@@ -0,0 +1,65 @@
+uuid: 7f27a807-6fa9-4d41-bd21-cc6900ab8293
+langcode: en
+id: fest_1
+status: true
+class: null
+field_plugin_method: null
+cck_plugin_method: null
+migration_tags:
+ - CSV
+migration_group: default
+label: 'fest_csv_import1'
+source:
+ plugin: csv
+ path: /home/mansimran/Desktop/mansimran1/fest.csv
+ delimiter: ','
+ enclosure: '"'
+ header_row_count: 1
+ keys:
+ - id
+ constants:
+ file_source: /var/www/migrationdata/fest
+ file_dest: 'public://fest1/'
+process:
+ type:
+ plugin: default_value
+ default_value: fest
+ source_path:
+ -
+ plugin: skip_on_empty
+ method: process
+ source: pictures
+ -
+ plugin: concat
+ delimiter: /
+ source:
+ - constants/file_source
+ - pictures
+ title: title
+ body/value: body
+ body/format:
+ plugin: default_value
+ default_value: basic_html
+ field_fest_pics:
+ -
+ plugin: explode
+ delimiter: ','
+ source: pictures
+ -
+ plugin: file_import
+ # source: '@source_path'
+ destination: constants/file_dest
+ field_fest_website/uri: website_link
+ field_fest_website/title:
+ plugin: default_value
+ default_value: 'Website Link'
+ field_fest_youtube_link/uri: youtube_link
+ field_fest_youtube_link/title:
+ plugin: default_value
+ default_value: 'Youtube Link'
+destination:
+ plugin: 'entity:node'
+ bundle: fest
+migration_dependencies:
+ required: { }
+ optional: { } \ No newline at end of file