public function ActiveTheme::getRegions in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Theme/ActiveTheme.php \Drupal\Core\Theme\ActiveTheme::getRegions()
The regions used by the theme.
Return value
string[] The list of region machine names supported by the theme.
See also
File
- core/
lib/ Drupal/ Core/ Theme/ ActiveTheme.php, line 210 - Contains \Drupal\Core\Theme\ActiveTheme.
Class
- ActiveTheme
- Defines a theme and its information needed at runtime.
Namespace
Drupal\Core\ThemeCode
public function getRegions() {
return array_keys($this->regions);
}