From 1ea928ff32439ca6e4537dedd1e7259df0eeda07 Mon Sep 17 00:00:00 2001 From: Mauricio Dinarte Date: Wed, 4 Dec 2024 10:11:41 -0600 Subject: [PATCH] Make title required in base field override --- drupal10/config/core.base_field_override.node.venue.title.yml | 2 +- .../migrations/upgrade_d7_node_title_label.yml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/drupal10/config/core.base_field_override.node.venue.title.yml b/drupal10/config/core.base_field_override.node.venue.title.yml index 3787649..5438b12 100644 --- a/drupal10/config/core.base_field_override.node.venue.title.yml +++ b/drupal10/config/core.base_field_override.node.venue.title.yml @@ -10,7 +10,7 @@ entity_type: node bundle: venue label: Name description: '' -required: false +required: true translatable: true default_value: { } default_value_callback: '' 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 index e56114f..7a3578e 100644 --- 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 @@ -41,6 +41,10 @@ process: - plugin: get source: constants/field_name + required: + - + plugin: default_value + default_value: TRUE destination: plugin: 'entity:base_field_override' migration_dependencies: