Loading core/modules/layout_builder/layout_builder.module +1 −0 Original line number Diff line number Diff line Loading @@ -233,6 +233,7 @@ function layout_builder_cron() { * Implements hook_plugin_filter_TYPE__CONSUMER_alter(). */ function layout_builder_plugin_filter_block__layout_builder_alter(array &$definitions, array $extra) { unset($definitions['system_main_block']); // @todo Restore the page title block in https://www.drupal.org/node/2938129. unset($definitions['page_title_block']); } Loading core/modules/layout_builder/tests/src/Functional/LayoutBuilderTest.php +1 −0 Original line number Diff line number Diff line Loading @@ -876,6 +876,7 @@ public function testLayoutBuilderChooseBlocksAlter() { // Verify that blocks explicitly removed are not present. $assert_session->linkNotExists('Help'); $assert_session->linkNotExists('Sticky at top of lists'); $assert_session->linkNotExists('Main page content'); $assert_session->linkNotExists('Page title'); // Verify that Changed block is not present on first section. Loading Loading
core/modules/layout_builder/layout_builder.module +1 −0 Original line number Diff line number Diff line Loading @@ -233,6 +233,7 @@ function layout_builder_cron() { * Implements hook_plugin_filter_TYPE__CONSUMER_alter(). */ function layout_builder_plugin_filter_block__layout_builder_alter(array &$definitions, array $extra) { unset($definitions['system_main_block']); // @todo Restore the page title block in https://www.drupal.org/node/2938129. unset($definitions['page_title_block']); } Loading
core/modules/layout_builder/tests/src/Functional/LayoutBuilderTest.php +1 −0 Original line number Diff line number Diff line Loading @@ -876,6 +876,7 @@ public function testLayoutBuilderChooseBlocksAlter() { // Verify that blocks explicitly removed are not present. $assert_session->linkNotExists('Help'); $assert_session->linkNotExists('Sticky at top of lists'); $assert_session->linkNotExists('Main page content'); $assert_session->linkNotExists('Page title'); // Verify that Changed block is not present on first section. Loading