function RulesConditionContainer::exportChildren

Overrides RulesContainerPlugin::exportChildren

File

includes/rules.core.inc, line 2643

Class

RulesConditionContainer
Base class for all condition containers.

Code

protected function exportChildren($key = NULL) {
    $key = isset($key) ? $key : strtoupper($this->plugin());
    return parent::exportChildren($this->negate ? 'NOT ' . $key : $key);
}