protected function RulesConditionContainer::importChildren in Rules 7.2
Overrides RulesContainerPlugin::importChildren
File
- includes/
rules.core.inc, line 2628 - Rules base classes and interfaces needed for any rule evaluation.
Class
- RulesConditionContainer
- Base class for all condition containers.
Code
protected function importChildren($export, $key = NULL) {
$key = isset($key) ? $key : strtoupper($this
->plugin());
// Care for negated elements.
if (!isset($export[$key]) && isset($export['NOT ' . $key])) {
$this->negate = TRUE;
$key = 'NOT ' . $key;
}
parent::importChildren($export, $key);
}