view core/modules/taxonomy/migrations/d7_taxonomy_vocabulary.yml @ 19:fa3358dc1485 tip

Add ndrum files
author Chris Cannam
date Wed, 28 Aug 2019 13:14:47 +0100
parents af1871eacc83
children
line wrap: on
line source
id: d7_taxonomy_vocabulary
label: Taxonomy vocabularies
migration_tags:
  - Drupal 7
  - Configuration
source:
  plugin: d7_taxonomy_vocabulary
process:
  vid:
    -
      plugin: make_unique_entity_field
      source: machine_name
      entity_type: taxonomy_vocabulary
      field: vid
      length: 32
      migrated: true
    -
      # This plugin checks if the vocabulary being migrated is the one used by
      # Forum. If so, we use the machine name that Forum expects. Otherwise, we
      # leave it unchanged.
      plugin: forum_vocabulary
      machine_name: forums
  label: name
  name: name
  description: description
  weight: weight
destination:
  plugin: entity:taxonomy_vocabulary