Patched to Drupal 8.4.8 level. See https://www.drupal.org/sa-core-2018-004 and patch...
[yaffs-website] / web / core / modules / taxonomy / migration_templates / d6_taxonomy_vocabulary.yml
1 id: d6_taxonomy_vocabulary
2 label: Taxonomy vocabularies
3 migration_tags:
4   - Drupal 6
5 source:
6   plugin: d6_taxonomy_vocabulary
7 process:
8   vid:
9     -
10       plugin: machine_name
11       source: name
12     -
13       plugin: make_unique_entity_field
14       entity_type: taxonomy_vocabulary
15       field: vid
16       length: 32
17       migrated: true
18     -
19       # This plugin checks if the vocabulary being migrated is the one used by
20       # Forum. If so, we use the machine name that Forum expects. Otherwise, we
21       # leave it unchanged.
22       plugin: forum_vocabulary
23       machine_name: forums
24   label: name
25   name: name
26   description: description
27   hierarchy: hierarchy
28   weight: weight
29 destination:
30   plugin: entity:taxonomy_vocabulary