From 4a5ed8c868ef1475dd97b876e37fa601cbf15046 Mon Sep 17 00:00:00 2001 From: Mauricio Dinarte Date: Wed, 4 Dec 2024 10:11:42 -0600 Subject: [PATCH] Add upgrade_d7_taxonomy_vocabulary configuration migration Copied from ref_migrations folder --- .../upgrade_d7_taxonomy_vocabulary.yml | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 drupal10/web/modules/custom/tag1_migration/tag1_migration_config/migrations/upgrade_d7_taxonomy_vocabulary.yml diff --git a/drupal10/web/modules/custom/tag1_migration/tag1_migration_config/migrations/upgrade_d7_taxonomy_vocabulary.yml b/drupal10/web/modules/custom/tag1_migration/tag1_migration_config/migrations/upgrade_d7_taxonomy_vocabulary.yml new file mode 100644 index 0000000..b76ab2a --- /dev/null +++ b/drupal10/web/modules/custom/tag1_migration/tag1_migration_config/migrations/upgrade_d7_taxonomy_vocabulary.yml @@ -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: { }