protected function Regions::getSystemRegionList in Context 8
Same name and namespace in other branches
- 8.4 src/Plugin/ContextReaction/Regions.php \Drupal\context\Plugin\ContextReaction\Regions::getSystemRegionList()
Wraps system_region_list().
@todo This could be moved to a service since we use it in a couple of places.
Parameters
string $theme: The theme to get a list of regions for.
string $show: What type of regions that should be returned, defaults to all regions.
Return value
array
1 call to Regions::getSystemRegionList()
- Regions::buildConfigurationForm in src/
Plugin/ ContextReaction/ Regions.php - Form constructor.
File
- src/
Plugin/ ContextReaction/ Regions.php, line 159
Class
- Regions
- Provides a content reaction that will let you disable regions.
Namespace
Drupal\context\Plugin\ContextReactionCode
protected function getSystemRegionList($theme, $show = REGIONS_ALL) {
return system_region_list($theme, $show);
}