function RulesReactionRule::dependencies
File
-
includes/
rules.plugins.inc, line 479
Class
- RulesReactionRule
- Represents rules getting triggered by events.
Code
public function dependencies() {
$modules = array_flip(parent::dependencies());
foreach ($this->events as $event_name) {
$event_info = rules_get_event_info($event_name);
if (isset($event_info['module'])) {
$modules[$event_info['module']] = TRUE;
}
}
return array_keys($modules);
}