function BlankLayout::build
Same name in other branches
- 8.9.x core/modules/layout_builder/src/Plugin/Layout/BlankLayout.php \Drupal\layout_builder\Plugin\Layout\BlankLayout::build()
- 10 core/modules/layout_builder/src/Plugin/Layout/BlankLayout.php \Drupal\layout_builder\Plugin\Layout\BlankLayout::build()
- 11.x core/modules/layout_builder/src/Plugin/Layout/BlankLayout.php \Drupal\layout_builder\Plugin\Layout\BlankLayout::build()
Overrides LayoutDefault::build
File
-
core/
modules/ layout_builder/ src/ Plugin/ Layout/ BlankLayout.php, line 26
Class
- BlankLayout
- Provides a layout plugin that produces no output.
Namespace
Drupal\layout_builder\Plugin\LayoutCode
public function build(array $regions) {
// Return no output.
return [];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.