public function RuleConditionSet::action in Conditional Rules 7
Same name and namespace in other branches
- 8 includes/rules_conditional.plugin.inc \RuleConditionSet::action()
Adds an action to the rule condition. Pass either an instance of the RulesActionInterface or the arguments as needed by rules_action().
This method can be chained.
File
- includes/
rules_conditional.plugin.inc, line 503 - Rules plugin implementation.
Class
- RuleConditionSet
- Rule as condition set.
Code
public function action($name, $settings = array()) {
$this->actions
->action($name, $settings);
return $this;
}