You are here

public function KeyPluginBase::setConfiguration in Key 8

Sets the configuration for this plugin instance.

Parameters

array $configuration: An associative array containing the plugin's configuration.

Overrides ConfigurableInterface::setConfiguration

5 calls to KeyPluginBase::setConfiguration()
ConfigKeyProvider::submitConfigurationForm in src/Plugin/KeyProvider/ConfigKeyProvider.php
Form submission handler.
EncryptionKeyType::submitConfigurationForm in src/Plugin/KeyType/EncryptionKeyType.php
Form submission handler.
EnvKeyProvider::submitConfigurationForm in src/Plugin/KeyProvider/EnvKeyProvider.php
Form submission handler.
FileKeyProvider::submitConfigurationForm in src/Plugin/KeyProvider/FileKeyProvider.php
Form submission handler.
KeyInputBase::submitConfigurationForm in src/Plugin/KeyInputBase.php
Form submission handler.

File

src/Plugin/KeyPluginBase.php, line 58

Class

KeyPluginBase
Defines a base class for all Key plugins.

Namespace

Drupal\key\Plugin

Code

public function setConfiguration(array $configuration) {
  $this->configuration = $configuration;
}