function RulesContainerPlugin::resetInternalCache

Overrides RulesPlugin::resetInternalCache

2 calls to RulesContainerPlugin::resetInternalCache()
Rule::resetInternalCache in includes/rules.plugins.inc
Resets any internal static caches.
RulesContainerPlugin::sortChildren in includes/rules.core.inc
Sorts all child elements by their weight.
1 method overrides RulesContainerPlugin::resetInternalCache()
Rule::resetInternalCache in includes/rules.plugins.inc
Resets any internal static caches.

File

includes/rules.core.inc, line 2498

Class

RulesContainerPlugin
Base class for ContainerPlugins like Rules, Logical Operations or Loops.

Code

public function resetInternalCache() {
    $this->availableVariables = NULL;
    foreach ($this->children as $child) {
        $child->resetInternalCache();
    }
}