public function RulesConditionalElement::dependencies in Conditional Rules 7
Same name and namespace in other branches
- 8 includes/rules_conditional.core.inc \RulesConditionalElement::dependencies()
Calculates an array of required modules.
You can use $this->dependencies to access dependencies for saved configurations.
Overrides RulesContainerPlugin::dependencies
1 call to RulesConditionalElement::dependencies()
- RulesConditionalPredicateElement::dependencies in includes/
rules_conditional.core.inc - Calculates an array of required modules.
1 method overrides RulesConditionalElement::dependencies()
- RulesConditionalPredicateElement::dependencies in includes/
rules_conditional.core.inc - Calculates an array of required modules.
File
- includes/
rules_conditional.core.inc, line 369 - Conditional Rules framework implementation.
Class
- RulesConditionalElement
- Base conditional element plugin implementation.
Code
public function dependencies() {
$modules = array(
'rules_conditional' => 1,
);
$modules += array_flip(parent::dependencies());
return array_keys($modules);
}