function RulesCondition::negate

Negate the result.

Overrides RulesConditionInterface::negate

File

includes/rules.plugins.inc, line 99

Class

RulesCondition
Implements a rules condition.

Code

public function negate($negate = TRUE) {
  $this->negate = (bool) $negate;
  return $this;
}