You are here

public function Blocks::getConfiguration in Context 8.4

Same name and namespace in other branches
  1. 8 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 415

Class

Blocks
Provides a content reaction.

Namespace

Drupal\context\Plugin\ContextReaction

Code

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