public function DisplayBase::getAllRegionTypes in Layout 8.2
Implements DisplayInterface::getAllRegionTypes().
Overrides DisplayInterface::getAllRegionTypes
File
- lib/
Drupal/ layout/ Config/ DisplayBase.php, line 131 - Definition of Drupal\layout\Config\DisplayBase.
Class
- DisplayBase
- Base class for 'display' and 'unbound_display' configuration entities.
Namespace
Drupal\layout\ConfigCode
public function getAllRegionTypes() {
$types = array();
foreach ($this->blockInfo as $info) {
$types[] = $info['region-type'];
}
return array_unique($types);
}