You are here

public function Blocks::getConfiguration in Context 8.0

Same name and namespace in other branches
  1. 8.4 src/Plugin/ContextReaction/Blocks.php \Drupal\context\Plugin\ContextReaction\Blocks::getConfiguration()
  2. 8 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

File

src/Plugin/ContextReaction/Blocks.php, line 280

Class

Blocks
Provides a content reaction that will let you place blocks in the current themes regions.

Namespace

Drupal\context\Plugin\ContextReaction

Code

public function getConfiguration() {
  return [
    'blocks' => $this
      ->getBlocks()
      ->getConfiguration(),
  ] + parent::getConfiguration();
}