You are here

public function Rule::actions in Rules 7.2

Gets an iterator over all contained actions.

Note that this iterator also implements the ArrayAccess interface.

Return value

RulesRecursiveElementIterator

1 call to Rule::actions()
Rule::providesVariables in includes/rules.plugins.inc
Overridden to expose the variables of all actions for embedded rules.

File

includes/rules.plugins.inc, line 219
Contains plugin info and implementations not needed for rule evaluation.

Class

Rule
An actual rule.

Code

public function actions() {
  return parent::getIterator();
}