public function Blocks::getConfiguration in Context 8
Same name and namespace in other branches
- 8.4 src/Plugin/ContextReaction/Blocks.php \Drupal\context\Plugin\ContextReaction\Blocks::getConfiguration()
- 8.0 src/Plugin/ContextReaction/Blocks.php \Drupal\context\Plugin\ContextReaction\Blocks::getConfiguration()
Gets this plugin's configuration.
Return value
array An array of this plugin's configuration.
Overrides ContextReactionPluginBase::getConfiguration
2 calls to Blocks::getConfiguration()
- Blocks::includeDefaultBlocks in src/
Plugin/ ContextReaction/ Blocks.php - Should reaction include default blocks from Block layout.
- Blocks::submitConfigurationForm in src/
Plugin/ ContextReaction/ Blocks.php - Form submission handler.
File
- src/
Plugin/ ContextReaction/ Blocks.php, line 323
Class
- Blocks
- Provides a content reaction that will let you place blocks in the current themes regions.
Namespace
Drupal\context\Plugin\ContextReactionCode
public function getConfiguration() {
return [
'blocks' => $this
->getBlocks()
->getConfiguration(),
] + parent::getConfiguration();
}