blob: d3099845cf4e2b92c1a66a9ef734011fc2c70c7a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
uuid: 9dea4ec4-fb79-4a5f-a37a-a045de069432
id: sig_sample
label: 'SIG Sample'
migration_group: default
source:
plugin: csv
# Full path to the file.
path: '/var/www/CSV/sig_sample.csv'
# Column delimiter. Comma (,) by default.
delimiter: ','
# Field enclosure. Double quotation marks (") by default.
enclosure: '"'
# The number of rows at the beginning which are not data.
header_row_count: 1
keys:
- id
process:
type:
plugin: default_value
default_value: special_interest_groups
title: title
field_faculty_head:
-
plugin: entity_lookup
entity_type: node
bundle: fac_page
source: head
field_sig_members:
-
plugin: explode
delimiter: '|'
source: members
-
plugin: entity_lookup
entity_type: node
bundle: fac_page
destination:
plugin: 'entity:node'
bundle: special_interest_groups
migration_dependencies: null
|