Add upgrade_d7_taxonomy_vocabulary configuration migration

Copied from ref_migrations folder
This commit is contained in:
Mauricio Dinarte 2024-12-04 10:11:42 -06:00
parent 1ea928ff32
commit 4a5ed8c868

View file

@ -0,0 +1,45 @@
uuid: f39226da-7e91-430c-91ca-438aa6005c66
langcode: en
status: true
dependencies: { }
id: upgrade_d7_taxonomy_vocabulary
class: Drupal\migrate\Plugin\Migration
field_plugin_method: null
cck_plugin_method: null
migration_tags:
- 'Drupal 7'
- Configuration
migration_group: migrate_drupal_7
label: 'Taxonomy vocabularies'
source:
plugin: d7_taxonomy_vocabulary
process:
vid:
-
plugin: make_unique_entity_field
source: machine_name
entity_type: taxonomy_vocabulary
field: vid
length: 30
migrated: true
label:
-
plugin: get
source: name
name:
-
plugin: get
source: name
description:
-
plugin: get
source: description
weight:
-
plugin: get
source: weight
destination:
plugin: 'entity:taxonomy_vocabulary'
migration_dependencies:
required: { }
optional: { }