function RulesReactionRule::exportChildren

File

includes/rules.plugins.inc, line 535

Class

RulesReactionRule
Represents rules getting triggered by events.

Code

protected function exportChildren($key = 'ON') {
    $export = array();
    foreach ($this->events as $event_name) {
        $export[$key][$event_name] = (array) $this->getEventSettings($event_name);
    }
    return $export + parent::exportChildren();
}