summaryrefslogtreecommitdiff
path: root/modules/mansimran/startups/config/install/migrate_plus.migration.startups_1.yml
diff options
context:
space:
mode:
authorNitesh Kumar Sinha2019-07-02 17:40:53 +0530
committerGitHub2019-07-02 17:40:53 +0530
commit58dbf8fcb04c01c338b9e346b8266690c8b92a2f (patch)
treeab16a85a8213c31f2abaf34e9d7df44a0f7132ac /modules/mansimran/startups/config/install/migrate_plus.migration.startups_1.yml
parentc63a20a2e293cb104027480a5770406e3f17c514 (diff)
parent0d50e51638dac37bb5133b5024f2e44811e2745e (diff)
downloadacadmix_distribution-58dbf8fcb04c01c338b9e346b8266690c8b92a2f.tar.gz
acadmix_distribution-58dbf8fcb04c01c338b9e346b8266690c8b92a2f.tar.bz2
acadmix_distribution-58dbf8fcb04c01c338b9e346b8266690c8b92a2f.zip
Merge pull request #15 from FOSSEE/stage
merging Stage into master
Diffstat (limited to 'modules/mansimran/startups/config/install/migrate_plus.migration.startups_1.yml')
-rw-r--r--modules/mansimran/startups/config/install/migrate_plus.migration.startups_1.yml64
1 files changed, 64 insertions, 0 deletions
diff --git a/modules/mansimran/startups/config/install/migrate_plus.migration.startups_1.yml b/modules/mansimran/startups/config/install/migrate_plus.migration.startups_1.yml
new file mode 100644
index 0000000..c90aa0f
--- /dev/null
+++ b/modules/mansimran/startups/config/install/migrate_plus.migration.startups_1.yml
@@ -0,0 +1,64 @@
+uuid: 428450d7-45f6-400c-b7e1-57b14e9d348d
+langcode: en
+id: startups_1
+status: true
+class: null
+field_plugin_method: null
+cck_plugin_method: null
+migration_tags:
+ - CSV
+migration_group: default
+label: 'startups_csv_import1'
+source:
+ plugin: csv
+ path: /home/mansimran/Desktop/mansimran1/startups1.csv
+ delimiter: ','
+ enclosure: '"'
+ header_row_count: 1
+ keys:
+ - id
+ constants:
+ file_source: /var/www/migrationdata/startups
+ file_dest: 'public://startups/'
+process:
+ type:
+ plugin: default_value
+ default_value: startups
+ source_path:
+ -
+ plugin: skip_on_empty
+ method: process
+ source: image
+ -
+ plugin: concat
+ delimiter: /
+ source:
+ - constants/file_source
+ - image
+ title: title
+ body/value: body
+ body/format:
+ plugin: default_value
+ default_value: basic_html
+ field_fac/uri: fb_link
+ field_fac/title:
+ plugin: default_value
+ default_value: 'Fb Link'
+ field_startup_image:
+ plugin: file_import
+ source: '@source_path'
+ destination: constants/file_dest
+ field_twitter_link/uri: twitter_link
+ field_twitter_link/title:
+ plugin: default_value
+ default_value: 'Twitter Link'
+ field_website_link/uri: website
+ field_website_link/title:
+ plugin: default_value
+ default_value: 'Startup website'
+destination:
+ plugin: 'entity:node'
+ bundle: startups
+migration_dependencies:
+ required: { }
+ optional: { } \ No newline at end of file