public function StaticLayout::getRegions

Implements Drupal\layout\Plugin\LayoutInterface::getRegions().

Overrides LayoutInterface::getRegions

1 call to StaticLayout::getRegions()
StaticLayout::renderLayout in drupal/core/modules/layout/lib/Drupal/layout/Plugin/layout/layout/StaticLayout.php
Implements Drupal\layout\Plugin\LayoutInterface::renderLayout().

File

drupal/core/modules/layout/lib/Drupal/layout/Plugin/layout/layout/StaticLayout.php, line 40
Definition of Drupal\layout\Plugin\layout\layout\StaticLayout.

Class

StaticLayout
Plugin annotation @Plugin( id = "static_layout", derivative = "Drupal\layout\Plugin\Derivative\Layout" )

Namespace

Drupal\layout\Plugin\layout\layout

Code

public function getRegions() {
  $definition = $this
    ->getDefinition();
  return $definition['regions'];
}