public function ConditionExpressionContainer::negate in Rules 8.3
Negates the result after evaluating this condition.
Parameters
bool $negate: TRUE to indicate that the condition should be negated, FALSE otherwise.
Return value
$this
Overrides ConditionExpressionInterface::negate
File
- src/
Engine/ ConditionExpressionContainer.php, line 91
Class
- ConditionExpressionContainer
- Container for conditions.
Namespace
Drupal\rules\EngineCode
public function negate($negate = TRUE) {
$this->configuration['negate'] = $negate;
return $this;
}