d7_taxonomy_vocabulary.yml

Same filename in other branches
  1. 9 core/modules/taxonomy/migrations/d7_taxonomy_vocabulary.yml
  2. 10 core/modules/taxonomy/migrations/d7_taxonomy_vocabulary.yml
  3. 11.x core/modules/taxonomy/migrations/d7_taxonomy_vocabulary.yml
core/modules/taxonomy/migrations/d7_taxonomy_vocabulary.yml

File

core/modules/taxonomy/migrations/d7_taxonomy_vocabulary.yml

View source
  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: 30
  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. weight: weight
  27. destination:
  28. plugin: entity:taxonomy_vocabulary

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.