diff --git a/config/schema/experience_builder.schema.yml b/config/schema/experience_builder.schema.yml index 61a879f2f2f6cd4abb02150fb2a7275e4df01777..e90c9c49a336e7ca824d0e8fe20290a6f588a5e1 100644 --- a/config/schema/experience_builder.schema.yml +++ b/config/schema/experience_builder.schema.yml @@ -217,8 +217,6 @@ experience_builder.page_template.*: presence: # In core: `block.system_main_block`. Contrib/custom modules may add additional implementations. - Drupal\Core\Block\MainContentBlockPluginInterface - # In core: `block.page_title_block`. Contrib/custom modules may add additional implementations. - - Drupal\Core\Block\TitleBlockPluginInterface # In core: `block.system_messages_block`. Contrib/custom modules may add additional implementations. - Drupal\Core\Block\MessagesBlockPluginInterface sequence: diff --git a/tests/src/Kernel/Config/PageTemplateValidationTest.php b/tests/src/Kernel/Config/PageTemplateValidationTest.php index 72ff8f8d2d8ede001fd87dae617d06462e3db4a2..87acf5275817dc9e8828fbc44e92bf3b7b568601 100644 --- a/tests/src/Kernel/Config/PageTemplateValidationTest.php +++ b/tests/src/Kernel/Config/PageTemplateValidationTest.php @@ -261,7 +261,6 @@ class PageTemplateValidationTest extends ConfigEntityValidationTestBase { 'component_trees' => [ 'Configuration for the region "<em class="placeholder">content</em>" (<em class="placeholder">content</em>) is missing.', "The 'Drupal\Core\Block\MainContentBlockPluginInterface' component interface must be present.", - "The 'Drupal\Core\Block\TitleBlockPluginInterface' component interface must be present.", "The 'Drupal\Core\Block\MessagesBlockPluginInterface' component interface must be present.", ], ], @@ -273,7 +272,6 @@ class PageTemplateValidationTest extends ConfigEntityValidationTestBase { 'sidebar_second' => [ 'tree' => self::encodeXBData([ ComponentTreeStructure::ROOT_UUID => [ - ['uuid' => 'uuid-main', 'component' => 'block.system_main_block'], ['uuid' => 'uuid-messages', 'component' => 'block.system_messages_block'], ], ]), @@ -298,7 +296,7 @@ class PageTemplateValidationTest extends ConfigEntityValidationTestBase { 'breadcrumb' => NULL, ], 'expected_messages' => [ - 'component_trees' => "The 'Drupal\Core\Block\TitleBlockPluginInterface' component interface must be present.", + 'component_trees' => "The 'Drupal\Core\Block\MainContentBlockPluginInterface' component interface must be present.", ], ];