You are here

public function LayoutInterface::getRegions in Layout 8.2

Returns a list of regions.

Return value

array An associative array of region information keyed by region machine names. Each region information element is a two item associative array with a 'label' and a 'type' key designating the human readable label and the type of the region.

1 method overrides LayoutInterface::getRegions()
StaticLayout::getRegions in lib/Drupal/layout/Plugin/Layout/StaticLayout.php
Implements Drupal\layout\Plugin\LayoutInterface::getRegions().

File

lib/Drupal/layout/Plugin/LayoutInterface.php, line 26
Definition of Drupal\layout\Plugin\LayoutInterface.

Class

LayoutInterface
Defines the shared interface for all layout plugins.

Namespace

Drupal\layout\Plugin

Code

public function getRegions();