public function LayoutBase::getRegionNames in Layout Plugin (obsolete, use core's Layout Discovery) 8
Gets human-readable list of regions keyed by machine name.
Return value
\Drupal\Core\Annotation\Translation[] An array of human-readable region names keyed by machine name.
File
- src/
Plugin/ Layout/ LayoutBase.php, line 58
Class
- LayoutBase
- Provides a base class for Layout plugins.
Namespace
Drupal\layout_plugin\Plugin\LayoutCode
public function getRegionNames() {
return $this->pluginDefinition['region_names'];
}