You are here

public function RulesConditionalContainer::dependencies in Conditional Rules 7

Same name and namespace in other branches
  1. 8 includes/rules_conditional.core.inc \RulesConditionalContainer::dependencies()

Calculates an array of required modules.

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

Overrides RulesContainerPlugin::dependencies

File

includes/rules_conditional.core.inc, line 169
Conditional Rules framework implementation.

Class

RulesConditionalContainer
Base conditional statement plugin implementation.

Code

public function dependencies() {
  $modules = array(
    'rules_conditional' => 1,
  );
  $modules += array_flip(parent::dependencies());
  return array_keys($modules);
}