You are here

d6_vocabulary_field.yml in Zircon Profile 8.0

Same filename and directory in other branches
  1. 8 core/modules/taxonomy/migration_templates/d6_vocabulary_field.yml
core/modules/taxonomy/migration_templates/d6_vocabulary_field.yml

File

core/modules/taxonomy/migration_templates/d6_vocabulary_field.yml
View source
  1. id: d6_vocabulary_field
  2. label: Vocabulary field configuration
  3. migration_tags:
  4. - Drupal 6
  5. source:
  6. plugin: d6_taxonomy_vocabulary
  7. constants:
  8. entity_type: node
  9. type: entity_reference
  10. target_entity_type: taxonomy_term
  11. cardinality: -1
  12. process:
  13. entity_type: 'constants/entity_type'
  14. type: 'constants/type'
  15. field_name:
  16. -
  17. plugin: migration
  18. migration: d6_taxonomy_vocabulary
  19. source: vid
  20. -
  21. plugin: skip_on_empty
  22. method: row
  23. 'settings/target_type': 'constants/target_entity_type'
  24. cardinality: 'constants/cardinality'
  25. destination:
  26. plugin: md_entity:field_storage_config
  27. migration_dependencies:
  28. required:
  29. - d6_taxonomy_vocabulary