Skip to content

Instantly share code, notes, and snippets.

@heddn
Created November 7, 2016 19:52
Show Gist options
  • Save heddn/ef826d4f7faa2291efdbe1f49f6a4d7b to your computer and use it in GitHub Desktop.
Save heddn/ef826d4f7faa2291efdbe1f49f6a4d7b to your computer and use it in GitHub Desktop.
uuid: 88b8d4b8-0887-4dbf-884e-1d2483c3f2c0
id: import_content_test_1
label: Import Content Test 1
source:
plugin: csv
path: 'private://import_csv/content_test_1.csv'
header_row_count: 1
keys:
- id
column_names:
0:
id: Identifier
1:
paragraph_test_1_id: Paragraph 1
process:
title: title
body: body
field_paragraph_test_1:
target_id:
-
plugin: migration
source: paragraph_test_1_id
migration: import_paragraph_test_1
no_stub: true
-
plugin: extract
index:
- 0
target_revision_id:
-
plugin: migration
source: paragraph_test_1_id
migration: import_paragraph_test_1
no_stub: true
-
plugin: extract
index:
- 1
type:
plugin: default_value
default_value: content_test_1
destination:
plugin: entity:node
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment