Skip to content

Instantly share code, notes, and snippets.

@rakeshjames
Created June 27, 2018 11:53
Show Gist options
  • Save rakeshjames/996b4bc7207fe0997b61ac9573daa9a4 to your computer and use it in GitHub Desktop.
Save rakeshjames/996b4bc7207fe0997b61ac9573daa9a4 to your computer and use it in GitHub Desktop.
id: migrate_csv_vocabulary
label: 'Migrate vocabulary from the csv file'
migration_group: migration_csv_custom
source:
plugin: csv
path: 'modules/custom/migrate_csv/assets/csv/vocabulary.csv'
header_row_count: 1
keys:
- Title
process:
vid: ID
name: Title
description: Description
destination:
plugin: entity:taxonomy_vocabulary
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment