function RulesAbstractPlugin::dependencies

Overrides RulesPlugin::dependencies

File

includes/rules.core.inc, line 1684

Class

RulesAbstractPlugin
Defines a common base class for so-called "Abstract Plugins" like actions.

Code

public function dependencies() {
    $modules = array_flip(parent::dependencies());
    $modules += array_flip((array) $this->__call('dependencies'));
    return array_keys($modules + (!empty($this->info['module']) ? array(
        $this->info['module'] => 1,
    ) : array()));
}