X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Ftaxonomy%2Fmigrations%2Fd7_taxonomy_vocabulary.yml;fp=web%2Fcore%2Fmodules%2Ftaxonomy%2Fmigrations%2Fd7_taxonomy_vocabulary.yml;h=2271385ab3a24875f3fa7486cf4e5a20bf0fb7c5;hp=0000000000000000000000000000000000000000;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 diff --git a/web/core/modules/taxonomy/migrations/d7_taxonomy_vocabulary.yml b/web/core/modules/taxonomy/migrations/d7_taxonomy_vocabulary.yml new file mode 100644 index 000000000..2271385ab --- /dev/null +++ b/web/core/modules/taxonomy/migrations/d7_taxonomy_vocabulary.yml @@ -0,0 +1,29 @@ +id: d7_taxonomy_vocabulary +label: Taxonomy vocabularies +migration_tags: + - Drupal 7 + - Configuration +source: + plugin: d7_taxonomy_vocabulary +process: + vid: + - + plugin: make_unique_entity_field + source: machine_name + entity_type: taxonomy_vocabulary + field: vid + length: 32 + migrated: true + - + # This plugin checks if the vocabulary being migrated is the one used by + # Forum. If so, we use the machine name that Forum expects. Otherwise, we + # leave it unchanged. + plugin: forum_vocabulary + machine_name: forums + label: name + name: name + description: description + hierarchy: hierarchy + weight: weight +destination: + plugin: entity:taxonomy_vocabulary