function Rule::exportChildren

Overrides RulesContainerPlugin::exportChildren

File

includes/rules.plugins.inc, line 312

Class

Rule
An actual rule.

Code

protected function exportChildren($key = NULL) {
    $export = array();
    if ($this->conditions->children) {
        $export = $this->conditions
            ->exportChildren('IF');
    }
    return $export + parent::exportChildren('DO');
}