You are here

public function ContextReactionPluginBase::defaultConfiguration in Context 8

Same name and namespace in other branches
  1. 8.4 src/ContextReactionPluginBase.php \Drupal\context\ContextReactionPluginBase::defaultConfiguration()
  2. 8.0 src/ContextReactionPluginBase.php \Drupal\context\ContextReactionPluginBase::defaultConfiguration()

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ConfigurablePluginInterface::defaultConfiguration

3 calls to ContextReactionPluginBase::defaultConfiguration()
Blocks::defaultConfiguration in src/Plugin/ContextReaction/Blocks.php
Gets default configuration for this plugin.
BodyClass::defaultConfiguration in src/Plugin/ContextReaction/BodyClass.php
Gets default configuration for this plugin.
ContextReactionPluginBase::setConfiguration in src/ContextReactionPluginBase.php
Sets the configuration for this plugin instance.
2 methods override ContextReactionPluginBase::defaultConfiguration()
Blocks::defaultConfiguration in src/Plugin/ContextReaction/Blocks.php
Gets default configuration for this plugin.
BodyClass::defaultConfiguration in src/Plugin/ContextReaction/BodyClass.php
Gets default configuration for this plugin.

File

src/ContextReactionPluginBase.php, line 56

Class

ContextReactionPluginBase

Namespace

Drupal\context

Code

public function defaultConfiguration() {
  return [
    'saved' => FALSE,
  ];
}