function BlankLayout::build

Same name in other branches
  1. 9 core/modules/layout_builder/src/Plugin/Layout/BlankLayout.php \Drupal\layout_builder\Plugin\Layout\BlankLayout::build()
  2. 10 core/modules/layout_builder/src/Plugin/Layout/BlankLayout.php \Drupal\layout_builder\Plugin\Layout\BlankLayout::build()
  3. 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\Layout

Code

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.