function layout_builder_plugin_filter_block__layout_builder_alter in Drupal 9
Same name and namespace in other branches
- 8 core/modules/layout_builder/layout_builder.module \layout_builder_plugin_filter_block__layout_builder_alter()
Implements hook_plugin_filter_TYPE__CONSUMER_alter().
File
- core/
modules/ layout_builder/ layout_builder.module, line 235 - Provides hook implementations for Layout Builder.
Code
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']);
}