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