You are here

protected function Rule::exportChildren in Rules 7.2

Overrides RulesContainerPlugin::exportChildren

File

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

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');
}