3 namespace Drupal\layout_plugin\Plugin\Layout;
5 use Drupal\Component\Plugin\DerivativeInspectionInterface;
6 use Drupal\Component\Plugin\PluginInspectionInterface;
9 * Provides an interface for static Layout plugins.
11 interface LayoutInterface extends PluginInspectionInterface, DerivativeInspectionInterface {
14 * Build a render array for layout with regions.
16 * @param array $regions
17 * An associative array keyed by region name, containing render arrays
18 * representing the content that should be placed in each region.
21 * Render array for the layout with regions.
23 public function build(array $regions);