You are here

public function LayoutInterface::build in Layout Plugin (obsolete, use core's Layout Discovery) 8

Build a render array for layout with regions.

Parameters

array $regions: An associative array keyed by region name, containing render arrays representing the content that should be placed in each region.

Return value

array Render array for the layout with regions.

1 method overrides LayoutInterface::build()
LayoutBase::build in src/Plugin/Layout/LayoutBase.php
Build a render array for layout with regions.

File

src/Plugin/Layout/LayoutInterface.php, line 23

Class

LayoutInterface
Provides an interface for static Layout plugins.

Namespace

Drupal\layout_plugin\Plugin\Layout

Code

public function build(array $regions);