You are here

public function ConditionBase::setConfiguration in GoogleTagManager 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 ConditionBase::setConfiguration()
ConditionBase::__construct in src/ConditionBase.php
Overrides \Drupal\Component\Plugin\PluginBase::__construct().

File

src/ConditionBase.php, line 95

Class

ConditionBase
Provides a basis for fulfilling contexts for condition plugins.

Namespace

Drupal\google_tag

Code

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