entity_taxonomy-1.0.2/migrations/d6_entity_taxonomy_vocabulary.yml

migrations/d6_entity_taxonomy_vocabulary.yml
id: d6_entity_taxonomy_vocabulary
label: entity_taxonomy vocabularies
migration_tags:
  - Drupal 6
  - Configuration
source:
  plugin: d6_entity_taxonomy_vocabulary
process:
  vid:
    -
      plugin: machine_name
      source: name
    -
      plugin: make_unique_entity_field
      entity_type: entity_taxonomy_vocabulary
      field: vid
      length: 30
      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:entity_taxonomy_vocabulary

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc