public function RulesConditionContainer::negate in Rules 7.2
Negate this condition.
Return value
Overrides RulesConditionInterface::negate
File
- includes/
rules.core.inc, line 2603 - Rules base classes and interfaces needed for any rule evaluation.
Class
- RulesConditionContainer
- Base class for all condition containers.
Code
public function negate($negate = TRUE) {
$this->negate = (bool) $negate;
return $this;
}