function RulesContainerPlugin::destroy

Overrides RulesPlugin::destroy

1 call to RulesContainerPlugin::destroy()
Rule::destroy in includes/rules.plugins.inc
Removes circular object references so PHP garbage collector can work.
1 method overrides RulesContainerPlugin::destroy()
Rule::destroy in includes/rules.plugins.inc
Removes circular object references so PHP garbage collector can work.

File

includes/rules.core.inc, line 2378

Class

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

Code

public function destroy() {
    foreach ($this->children as $key => $child) {
        $child->destroy();
    }
    parent::destroy();
}