function RuleExpression::getIterator

Overrides ExpressionContainerInterface::getIterator

File

src/Plugin/RulesExpression/RuleExpression.php, line 213

Class

RuleExpression
Provides a rule, executing actions when conditions are met.

Namespace

Drupal\rules\Plugin\RulesExpression

Code

public function getIterator() : \Traversable {
    // Just pass up the actions for iterating over.
    return $this->actions
        ->getIterator();
}