protected function Regions::getDisabledRegions in Context 8
Same name and namespace in other branches
- 8.4 src/Plugin/ContextReaction/Regions.php \Drupal\context\Plugin\ContextReaction\Regions::getDisabledRegions()
Get disabled regions.
1 call to Regions::getDisabledRegions()
- Regions::buildConfigurationForm in src/
Plugin/ ContextReaction/ Regions.php - Form constructor.
File
- src/
Plugin/ ContextReaction/ Regions.php, line 166
Class
- Regions
- Provides a content reaction that will let you disable regions.
Namespace
Drupal\context\Plugin\ContextReactionCode
protected function getDisabledRegions() {
$configurations = $this
->getConfiguration();
return isset($configurations['regions']) ? $configurations['regions'] : [];
}