You are here

public function CommerceAutoSkuGeneratorBase::setConfiguration in Commerce AutoSKU 8.2

Sets the configuration for this plugin instance.

Parameters

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

Overrides ConfigurableInterface::setConfiguration

2 calls to CommerceAutoSkuGeneratorBase::setConfiguration()
CommerceAutoSkuGeneratorBase::submitConfigurationForm in src/Plugin/CommerceAutoSkuGenerator/CommerceAutoSkuGeneratorBase.php
Form submission handler.
Token::__construct in src/Plugin/CommerceAutoSkuGenerator/Token.php
Constructs a new Token object.

File

src/Plugin/CommerceAutoSkuGenerator/CommerceAutoSkuGeneratorBase.php, line 159

Class

CommerceAutoSkuGeneratorBase
Places an order through a series of steps.

Namespace

Drupal\commerce_autosku\Plugin\CommerceAutoSkuGenerator

Code

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