You are here

public function ConditionBase::isNegated in GoogleTagManager 8

Determines whether condition result will be negated.

Return value

bool Whether the condition result will be negated.

Overrides ConditionInterface::isNegated

2 calls to ConditionBase::isNegated()
ConditionBase::evaluate in src/ConditionBase.php
Evaluates the condition and returns TRUE or FALSE accordingly.
ConditionBase::summary in src/ConditionBase.php
Provides a human readable summary of the condition's configuration.

File

src/ConditionBase.php, line 118

Class

ConditionBase
Provides a basis for fulfilling contexts for condition plugins.

Namespace

Drupal\google_tag

Code

public function isNegated() {
  return $this->configuration[$this->toggle] == GOOGLE_TAG_EXCLUDE_LISTED;
}