diff --git a/drupal10/web/modules/custom/tag1_migration/tag1_migration_config/migrations/upgrade_d7_node_title_label.yml b/drupal10/web/modules/custom/tag1_migration/tag1_migration_config/migrations/upgrade_d7_node_title_label.yml new file mode 100644 index 0000000..11de3a8 --- /dev/null +++ b/drupal10/web/modules/custom/tag1_migration/tag1_migration_config/migrations/upgrade_d7_node_title_label.yml @@ -0,0 +1,54 @@ +uuid: bd82e607-d0d8-46b6-b741-5f8fa8628469 +langcode: en +status: true +dependencies: { } +id: upgrade_d7_node_title_label +class: Drupal\migrate\Plugin\Migration +field_plugin_method: null +cck_plugin_method: null +migration_tags: + - 'Drupal 7' + - Configuration +migration_group: migrate_drupal_7 +label: 'Node title label' +source: + plugin: d7_node_type + constants: + entity_type: node + field_name: title +process: + label: + - + plugin: static_map + source: title_label + bypass: true + map: + Title: 0 + - + plugin: skip_on_empty + method: row + entity_type: + - + plugin: get + source: constants/entity_type + - + plugin: static_map + map: + field_collection_item: paragraph + paragraphs_item: paragraph + bypass: true + bundle: + - + plugin: get + source: type + field_name: + - + plugin: get + source: constants/field_name +destination: + plugin: 'entity:base_field_override' +migration_dependencies: + required: + - upgrade_d7_node_type + optional: + - upgrade_d7_field_collection_type