public function ContextReactionPluginBase::setConfiguration in Context 8
Same name and namespace in other branches
- 8.4 src/ContextReactionPluginBase.php \Drupal\context\ContextReactionPluginBase::setConfiguration()
- 8.0 src/ContextReactionPluginBase.php \Drupal\context\ContextReactionPluginBase::setConfiguration()
Sets the configuration for this plugin instance.
Parameters
array $configuration: An associative array containing the plugin's configuration.
Overrides ConfigurablePluginInterface::setConfiguration
6 calls to ContextReactionPluginBase::setConfiguration()
- BodyClass::submitConfigurationForm in src/
Plugin/ ContextReaction/ BodyClass.php - Form submission handler.
- ContextReactionPluginBase::__construct in src/
ContextReactionPluginBase.php - Constructs a \Drupal\Component\Plugin\PluginBase object.
- Menu::submitConfigurationForm in src/
Plugin/ ContextReaction/ Menu.php - Form submission handler.
- PageTemplateSuggestions::submitConfigurationForm in src/
Plugin/ ContextReaction/ PageTemplateSuggestions.php - Form submission handler.
- Regions::submitConfigurationForm in src/
Plugin/ ContextReaction/ Regions.php - Form submission handler.
1 method overrides ContextReactionPluginBase::setConfiguration()
- Blocks::setConfiguration in src/
Plugin/ ContextReaction/ Blocks.php - Sets the configuration for this plugin instance.
File
- src/
ContextReactionPluginBase.php, line 41
Class
Namespace
Drupal\contextCode
public function setConfiguration(array $configuration) {
$this->configuration = $configuration + $this
->defaultConfiguration();
return $this;
}