d6_vocabulary_field_instance.yml in Zircon Profile 8.0
Same filename and directory in other branches
core/modules/taxonomy/migration_templates/d6_vocabulary_field_instance.yml
File
core/modules/taxonomy/migration_templates/d6_vocabulary_field_instance.ymlView source
- id: d6_vocabulary_field_instance
- label: Vocabulary field instance configuration
- migration_tags:
- - Drupal 6
- source:
- plugin: d6_taxonomy_vocabulary_per_type
- constants:
- entity_type: node
- auto_create: true
- selection_handler: 'default:taxonomy_term'
- process:
- entity_type: 'constants/entity_type'
- bundle: type
- field_name:
- -
- plugin: migration
- migration: d6_taxonomy_vocabulary
- source: vid
- -
- plugin: skip_on_empty
- method: row
- label: name
- 'settings/handler': 'constants/selection_handler'
- 'settings/handler_settings/target_bundles/0': '@field_name'
- 'settings/handler_settings/auto_create': 'constants/auto_create'
- destination:
- plugin: entity:field_config
- migration_dependencies:
- required:
- - d6_node_type
- - d6_vocabulary_field