You are here

public function ContextReactionPluginBase::getConfiguration in Context 8

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

Gets this plugin's configuration.

Return value

array An array of this plugin's configuration.

Overrides ConfigurablePluginInterface::getConfiguration

9 calls to ContextReactionPluginBase::getConfiguration()
Blocks::getConfiguration in src/Plugin/ContextReaction/Blocks.php
Gets this plugin's configuration.
Menu::buildConfigurationForm in src/Plugin/ContextReaction/Menu.php
Form constructor.
Menu::execute in src/Plugin/ContextReaction/Menu.php
Executes the plugin.
PageTemplateSuggestions::buildConfigurationForm in src/Plugin/ContextReaction/PageTemplateSuggestions.php
Form constructor.
PageTemplateSuggestions::execute in src/Plugin/ContextReaction/PageTemplateSuggestions.php
Executes the plugin.

... See full list

1 method overrides ContextReactionPluginBase::getConfiguration()
Blocks::getConfiguration in src/Plugin/ContextReaction/Blocks.php
Gets this plugin's configuration.

File

src/ContextReactionPluginBase.php, line 32

Class

ContextReactionPluginBase

Namespace

Drupal\context

Code

public function getConfiguration() {
  return [
    'id' => $this
      ->getPluginId(),
  ] + $this->configuration;
}