You are here

public function BackendBase::setConfiguration in Advanced Queue 8

Sets the configuration for this plugin instance.

Parameters

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

Overrides ConfigurableInterface::setConfiguration

1 call to BackendBase::setConfiguration()
BackendBase::__construct in src/Plugin/AdvancedQueue/Backend/BackendBase.php
Constructs a new BackendBase object.

File

src/Plugin/AdvancedQueue/Backend/BackendBase.php, line 83

Class

BackendBase
Provides the base class for queue backends.

Namespace

Drupal\advancedqueue\Plugin\AdvancedQueue\Backend

Code

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