You are here

public function AvatarKitServiceBase::setConfiguration in Avatar Kit 8.2

Sets the configuration for this plugin instance.

Parameters

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

Overrides ConfigurablePluginInterface::setConfiguration

File

src/Plugin/Avatars/Service/AvatarKitServiceBase.php, line 33

Class

AvatarKitServiceBase
Abstract class for Avatar Kit service plugins.

Namespace

Drupal\avatars\Plugin\Avatars\Service

Code

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