You are here

public function Blocks::getConfiguration in Context 8

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

Code

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