From befb696e8164aa670b29f62e3ccf6f0e6dfdb308 Mon Sep 17 00:00:00 2001 From: Mauricio Dinarte Date: Mon, 22 Jul 2024 21:38:39 -0600 Subject: [PATCH] Customize upgrade_d7_node_type configuration migration --- .../migrations/upgrade_d7_node_type.yml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/drupal10/web/modules/custom/tag1_migration/tag1_migration_config/migrations/upgrade_d7_node_type.yml b/drupal10/web/modules/custom/tag1_migration/tag1_migration_config/migrations/upgrade_d7_node_type.yml index 5012d86..6a1219e 100644 --- a/drupal10/web/modules/custom/tag1_migration/tag1_migration_config/migrations/upgrade_d7_node_type.yml +++ b/drupal10/web/modules/custom/tag1_migration/tag1_migration_config/migrations/upgrade_d7_node_type.yml @@ -1,25 +1,28 @@ -uuid: a3367374-077c-460d-89e6-7e1abbe94e77 -langcode: en -status: true -dependencies: { } id: upgrade_d7_node_type class: Drupal\migrate\Plugin\Migration -field_plugin_method: null -cck_plugin_method: null migration_tags: - 'Drupal 7' - Configuration -migration_group: migrate_drupal_7 + - node_type + - tag1_configuration label: 'Node type configuration' source: + key: migrate plugin: d7_node_type constants: preview: 1 process: + # @modified type: - - plugin: get + plugin: skip_on_value source: type + value: + - speaker + - sponsor + - swag + method: row + message: 'Content type not needed in new site.' name: - plugin: get