"Fossies" - the Fresh Open Source Software Archive

Member "drupal-8.9.10/core/modules/taxonomy/migrations/d7_taxonomy_vocabulary.yml" (26 Nov 2020, 698 Bytes) of package /linux/www/drupal-8.9.10.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Ansible YAML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 id: d7_taxonomy_vocabulary
    2 label: Taxonomy vocabularies
    3 migration_tags:
    4   - Drupal 7
    5   - Configuration
    6 source:
    7   plugin: d7_taxonomy_vocabulary
    8 process:
    9   vid:
   10     -
   11       plugin: make_unique_entity_field
   12       source: machine_name
   13       entity_type: taxonomy_vocabulary
   14       field: vid
   15       length: 30
   16       migrated: true
   17     -
   18       # This plugin checks if the vocabulary being migrated is the one used by
   19       # Forum. If so, we use the machine name that Forum expects. Otherwise, we
   20       # leave it unchanged.
   21       plugin: forum_vocabulary
   22       machine_name: forums
   23   label: name
   24   name: name
   25   description: description
   26   weight: weight
   27 destination:
   28   plugin: entity:taxonomy_vocabulary