function RulesContainerPlugin::dependencies

Overrides RulesPlugin::dependencies

1 call to RulesContainerPlugin::dependencies()
Rule::dependencies in includes/rules.plugins.inc
Calculates an array of required modules.
1 method overrides RulesContainerPlugin::dependencies()
Rule::dependencies in includes/rules.plugins.inc
Calculates an array of required modules.

File

includes/rules.core.inc, line 2257

Class

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

Code

public function dependencies() {
    $modules = array_flip(parent::dependencies());
    foreach ($this->children as $child) {
        $modules += array_flip($child->dependencies());
    }
    return array_keys($modules);
}