You are here

public function RuleConditionSet::resetInternalCache in Conditional Rules 7

Same name and namespace in other branches
  1. 8 includes/rules_conditional.plugin.inc \RuleConditionSet::resetInternalCache()

Resets any internal static caches.

This function does not reset regular caches as retrieved via rules_get_cache(). Usually, it's invoked automatically when a Rules configuration is modified.

Static caches are reset for the element and any elements down the tree. To clear static caches of the whole configuration, invoke the function at the root.

Overrides RulesContainerPlugin::resetInternalCache

See also

RulesPlugin::availableVariables()

File

includes/rules_conditional.plugin.inc, line 604
Rules plugin implementation.

Class

RuleConditionSet
Rule as condition set.

Code

public function resetInternalCache() {
  parent::resetInternalCache();
  $this->actions
    ->resetInternalCache();
}