You are here

public function ConditionBase::defaultConfiguration in GoogleTagManager 8

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ConfigurableInterface::defaultConfiguration

1 call to ConditionBase::defaultConfiguration()
ConditionBase::setConfiguration in src/ConditionBase.php
Sets the configuration for this plugin instance.

File

src/ConditionBase.php, line 111

Class

ConditionBase
Provides a basis for fulfilling contexts for condition plugins.

Namespace

Drupal\google_tag

Code

public function defaultConfiguration() {
  return [
    $this->toggle => GOOGLE_TAG_EXCLUDE_LISTED,
    $this->list => [],
  ];
}