Implements Drupal\layout\Plugin\LayoutInterface::getRegions().
Overrides LayoutInterface::getRegions
File
- drupal/core/modules/layout/lib/Drupal/layout/Plugin/Layout/StaticLayout.php, line 37
- Contains \Drupal\layout\Plugin\Layout\StaticLayout.
Class
- StaticLayout
- Plugin annotation
@Plugin(
id = "static_layout",
derivative = "Drupal\layout\Plugin\Derivative\Layout"
)
Namespace
Drupal\layout\Plugin\Layout
Code
public function getRegions() {
$definition = $this
->getPluginDefinition();
return $definition['regions'];
}