You are here

public function BlankLayout::build in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/layout_builder/src/Plugin/Layout/BlankLayout.php \Drupal\layout_builder\Plugin\Layout\BlankLayout::build()
  2. 9 core/modules/layout_builder/src/Plugin/Layout/BlankLayout.php \Drupal\layout_builder\Plugin\Layout\BlankLayout::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 [];
}