function Rule::conditions

Gets an iterator over all contained conditions.

Note that this iterator also implements the ArrayAccess interface.

Return value

RulesRecursiveElementIterator

File

includes/rules.plugins.inc, line 194

Class

Rule
An actual rule.

Code

public function conditions() {
    return $this->conditions
        ->getIterator();
}