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