You are here

public function ViewsRulesLoop::resetInternalCache in Views Rules 7

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

rules/views_rules.plugin.inc, line 219
Views Rules plugin implementations.

Class

ViewsRulesLoop
Loop plugin for using results from a view with Rules displays.

Code

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