Skip to content

Instantly share code, notes, and snippets.

@punyaruchal
Forked from rakeshjames/migrate_csv_tags.yml
Created June 22, 2018 09:20
Show Gist options
  • Save punyaruchal/e1c674291323310f5be68b01a31fae5f to your computer and use it in GitHub Desktop.
Save punyaruchal/e1c674291323310f5be68b01a31fae5f to your computer and use it in GitHub Desktop.
id: migrate_csv_tags
label: 'Migrate Tags from the csv file'
migration_group: migration_csv_custom
source:
plugin: csv
path: 'modules/custom/migrate_csv/assets/csv/tags.csv'
header_row_count: 1
keys:
- Title
process:
name: Title
destination:
plugin: 'entity:taxonomy_term'
default_bundle: tags
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment