protected function Blocks::getSystemRegionList in Context 8
Same name and namespace in other branches
- 8.4 src/Plugin/ContextReaction/Blocks.php \Drupal\context\Plugin\ContextReaction\Blocks::getSystemRegionList()
- 8.0 src/Plugin/ContextReaction/Blocks.php \Drupal\context\Plugin\ContextReaction\Blocks::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 Blocks::getSystemRegionList()
- Blocks::buildConfigurationForm in src/
Plugin/ ContextReaction/ Blocks.php - Form constructor.
File
- src/
Plugin/ ContextReaction/ Blocks.php, line 684
Class
- Blocks
- Provides a content reaction that will let you place blocks in the current themes regions.
Namespace
Drupal\context\Plugin\ContextReactionCode
protected function getSystemRegionList($theme, $show = REGIONS_ALL) {
return system_region_list($theme, $show);
}