You are here

public function ClientAuthorizationPluginBase::setConfiguration in Entity Share 8.3

Sets the configuration for this plugin instance.

Parameters

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

Overrides ConfigurableInterface::setConfiguration

3 calls to ClientAuthorizationPluginBase::setConfiguration()
ClientAuthorizationPluginBase::submitConfigurationForm in modules/entity_share_client/src/ClientAuthorization/ClientAuthorizationPluginBase.php
Form submission handler.
ClientAuthorizationPluginBase::__construct in modules/entity_share_client/src/ClientAuthorization/ClientAuthorizationPluginBase.php
Constructs a \Drupal\Component\Plugin\PluginBase object.
Oauth::submitConfigurationForm in modules/entity_share_client/src/Plugin/ClientAuthorization/Oauth.php
Form submission handler.

File

modules/entity_share_client/src/ClientAuthorization/ClientAuthorizationPluginBase.php, line 110

Class

ClientAuthorizationPluginBase
Base class for Client authorization plugins.

Namespace

Drupal\entity_share_client\ClientAuthorization

Code

public function setConfiguration(array $configuration) {
  $this->configuration = NestedArray::mergeDeep($this
    ->defaultConfiguration(), $configuration);
  return $this;
}