You are here

public function RulesConditionalContainer::resetInternalCache in Conditional Rules 7

Same name and namespace in other branches
  1. 8 includes/rules_conditional.core.inc \RulesConditionalContainer::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.core.inc, line 184
Conditional Rules framework implementation.

Class

RulesConditionalContainer
Base conditional statement plugin implementation.

Code

public function resetInternalCache() {
  parent::resetInternalCache();
  $this->providesVariables = NULL;
}