function RulesDataProcessor::dependencies

Returns an array of modules which we depend on.

File

includes/rules.processor.inc, line 156

Class

RulesDataProcessor
Common base class for Rules data processors.

Code

public function dependencies() {
    $used_processor_info = array_intersect_key($this->processors(), $this->unchain());
    $modules = array();
    foreach ($used_processor_info as $name => $info) {
        $modules[] = $info['module'];
    }
    return array_filter($modules);
}