d6_taxonomy_vocabulary.yml

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

File

core/modules/taxonomy/migrations/d6_taxonomy_vocabulary.yml

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

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