function layout_builder_plugin_filter_layout_alter
Same name in other branches
- 9 core/modules/layout_builder/layout_builder.module \layout_builder_plugin_filter_layout_alter()
- 8.9.x core/modules/layout_builder/layout_builder.module \layout_builder_plugin_filter_layout_alter()
- 11.x core/modules/layout_builder/layout_builder.module \layout_builder_plugin_filter_layout_alter()
Implements hook_plugin_filter_TYPE_alter().
File
-
core/
modules/ layout_builder/ layout_builder.module, line 329
Code
function layout_builder_plugin_filter_layout_alter(array &$definitions, array $extra, $consumer) {
// Hide the blank layout plugin from listings.
unset($definitions['layout_builder_blank']);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.