public function RulesCondition::negate in Rules 7.2
Negate the result.
Overrides RulesConditionInterface::negate
File
- includes/
rules.plugins.inc, line 99 - Contains plugin info and implementations not needed for rule evaluation.
Class
- RulesCondition
- Implements a rules condition.
Code
public function negate($negate = TRUE) {
$this->negate = (bool) $negate;
return $this;
}