function RulesConditionBase::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
Overrides RulesConditionInterface::negate
File
-
src/
Core/ RulesConditionBase.php, line 55
Class
- RulesConditionBase
- Base class for rules conditions.
Namespace
Drupal\rules\CoreCode
public function negate($negate = TRUE) {
$this->configuration['negate'] = $negate;
return $this;
}