You are here

public function RulesConditionalPredicateElement::negate in Conditional Rules 8

Same name and namespace in other branches
  1. 7 includes/rules_conditional.core.inc \RulesConditionalPredicateElement::negate()

Negates the predicate.

File

includes/rules_conditional.core.inc, line 489
Conditional Rules framework implementation.

Class

RulesConditionalPredicateElement
Base conditional element that uses a predicate.

Code

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