You are here

d6_vocabulary_field_instance.yml in Zircon Profile 8

core/modules/taxonomy/migration_templates/d6_vocabulary_field_instance.yml

File

core/modules/taxonomy/migration_templates/d6_vocabulary_field_instance.yml
View source
  1. id: d6_vocabulary_field_instance
  2. label: Vocabulary field instance configuration
  3. migration_tags:
  4. - Drupal 6
  5. source:
  6. plugin: d6_taxonomy_vocabulary_per_type
  7. constants:
  8. entity_type: node
  9. auto_create: true
  10. selection_handler: 'default:taxonomy_term'
  11. process:
  12. entity_type: 'constants/entity_type'
  13. bundle: type
  14. field_name:
  15. -
  16. plugin: migration
  17. migration: d6_taxonomy_vocabulary
  18. source: vid
  19. -
  20. plugin: skip_on_empty
  21. method: row
  22. label: name
  23. 'settings/handler': 'constants/selection_handler'
  24. 'settings/handler_settings/target_bundles/0': '@field_name'
  25. 'settings/handler_settings/auto_create': 'constants/auto_create'
  26. destination:
  27. plugin: entity:field_config
  28. migration_dependencies:
  29. required:
  30. - d6_node_type
  31. - d6_vocabulary_field