You are here

public function ConditionExpression::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

3 calls to ConditionExpression::isNegated()
ConditionExpression::executeWithState in src/Plugin/RulesExpression/ConditionExpression.php
Execute the expression with a given Rules state.
ConditionExpression::getLabel in src/Plugin/RulesExpression/ConditionExpression.php
The label of this expression element that can be shown in the UI.
ConditionExpression::prepareExecutionMetadataState in src/Plugin/RulesExpression/ConditionExpression.php
Prepares the execution metadata state by adding metadata to it.

File

src/Plugin/RulesExpression/ConditionExpression.php, line 150

Class

ConditionExpression
Defines an executable condition expression.

Namespace

Drupal\rules\Plugin\RulesExpression

Code

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