In my CSV file, I am having columns by name summary_1
,summary_2
and summary_3
. I want all of it migrated to a field in Drupal field_summary
. The field supports multiple values.
id: sections_tfr
migration_tags:
- CSV
migration_group: tfr
label: 'Import sections'
source:
plugin: csv
path: /var/www/html/php/tfr/prepared/final/sections.csv
delimiter: ','
enclosure: '"'
header_row_count: 1
keys:
- s_id
column_names:
-
s_id: Id
-
part_no: Part
-
sections: Section
-
summary_1: Summary
-
summary_2: Summary
-
summary_3: Summary
process:
name: sections
description: heading
field_summary: summary_1
field_summary: summary_2
field_summary: summary_3
weight: s_id
destination:
plugin: 'entity:taxonomy_term'
default_bundle: sections
migration_dependencies: null