public function Blocks::defaultConfiguration in Context 8.0
Same name and namespace in other branches
- 8.4 src/Plugin/ContextReaction/Blocks.php \Drupal\context\Plugin\ContextReaction\Blocks::defaultConfiguration()
- 8 src/Plugin/ContextReaction/Blocks.php \Drupal\context\Plugin\ContextReaction\Blocks::defaultConfiguration()
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides ContextReactionPluginBase::defaultConfiguration
1 call to Blocks::defaultConfiguration()
- Blocks::setConfiguration in src/
Plugin/ ContextReaction/ Blocks.php - Sets the configuration for this plugin instance.
File
- src/
Plugin/ ContextReaction/ Blocks.php, line 258
Class
- Blocks
- Provides a content reaction that will let you place blocks in the current themes regions.
Namespace
Drupal\context\Plugin\ContextReactionCode
public function defaultConfiguration() {
return [
'blocks' => [],
] + parent::defaultConfiguration();
}