You are here

public function RulesConditionalPredicateElement::resetInternalCache in Conditional Rules 8

Same name and namespace in other branches
  1. 7 includes/rules_conditional.core.inc \RulesConditionalPredicateElement::resetInternalCache()
1 call to RulesConditionalPredicateElement::resetInternalCache()
RulesConditionalPredicateElement::setPredicate in includes/rules_conditional.core.inc
Sets a condition as predicate.

File

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

Class

RulesConditionalPredicateElement
Base conditional element that uses a predicate.

Code

public function resetInternalCache() {
  parent::resetInternalCache();
  if (isset($this->predicate)) {
    $this->predicate
      ->resetInternalCache();
  }
}