protected function Blocks::getSystemRegionList in Context 8.4
Same name and namespace in other branches
- 8 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 An array of available regions from a specified theme.
1 call to Blocks::getSystemRegionList()
- Blocks::buildConfigurationForm in src/
Plugin/ ContextReaction/ Blocks.php - Form constructor.
File
- src/
Plugin/ ContextReaction/ Blocks.php, line 792
Class
- Blocks
- Provides a content reaction.
Namespace
Drupal\context\Plugin\ContextReactionCode
protected function getSystemRegionList($theme, $show = BlockRepositoryInterface::REGIONS_ALL) {
return system_region_list($theme, $show);
}