You are here

public function ConditionExpressionContainer::isNegated in Rules 8.3

Determines whether condition result will be negated.

Return value

bool Whether the condition result will be negated.

Overrides ConditionExpressionInterface::isNegated

2 calls to ConditionExpressionContainer::isNegated()
AndExpression::allowsMetadataAssertions in src/Plugin/RulesExpression/AndExpression.php
Determines whether child-expressions are allowed to assert metadata.
ConditionExpressionContainer::executeWithState in src/Engine/ConditionExpressionContainer.php
Execute the expression with a given Rules state.

File

src/Engine/ConditionExpressionContainer.php, line 99

Class

ConditionExpressionContainer
Container for conditions.

Namespace

Drupal\rules\Engine

Code

public function isNegated() {
  return !empty($this->configuration['negate']);
}