function ConditionExpressionInterface::negate

Negates the result after evaluating this condition.

Parameters

bool $negate: TRUE to indicate that the condition should be negated, FALSE otherwise.

Return value

$this

2 methods override ConditionExpressionInterface::negate()
ConditionExpression::negate in src/Plugin/RulesExpression/ConditionExpression.php
Negates the result after evaluating this condition.
ConditionExpressionContainer::negate in src/Engine/ConditionExpressionContainer.php
Negates the result after evaluating this condition.

File

src/Engine/ConditionExpressionInterface.php, line 18

Class

ConditionExpressionInterface
Defines the interface for Rules expressions that can be used as conditions.

Namespace

Drupal\rules\Engine

Code

public function negate($negate = TRUE);