You are here

public function ViewsRulesLoop::dependencies in Views Rules 7

Calculates an array of required modules.

You can use $this->dependencies to access dependencies for saved configurations.

Overrides RulesContainerPlugin::dependencies

File

rules/views_rules.plugin.inc, line 176
Views Rules plugin implementations.

Class

ViewsRulesLoop
Loop plugin for using results from a view with Rules displays.

Code

public function dependencies() {

  // TODO Remove once http://drupal.org/node/1682524 is fixed.
  $modules = array_flip(RulesPlugin::dependencies());
  $modules += array_flip(parent::dependencies());
  return array_keys($modules);
}