You are here

public function Blocks::defaultConfiguration in Context 8.4

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

Class

Blocks
Provides a content reaction.

Namespace

Drupal\context\Plugin\ContextReaction

Code

public function defaultConfiguration() {
  return [
    'blocks' => [],
  ] + parent::defaultConfiguration();
}