You are here

protected function RulesListConditionsConditionalLoop::importChildren in Rules List Conditions 7

Overrides RulesConditionContainer::importChildren

2 calls to RulesListConditionsConditionalLoop::importChildren()
RulesListConditionsAll::importChildern in includes/rules_list_conditions.plugins.inc
RulesListConditionsAny::importChildern in includes/rules_list_conditions.plugins.inc

File

includes/rules_list_conditions.core.inc, line 82
Contains the base class for condition loops.

Class

RulesListConditionsConditionalLoop
Base class for condition loops.

Code

protected function importChildren($export, $key = NULL) {

  // Up to children to set $key.
  if (!isset($export[$key]) && isset($export['NOT ' . $key])) {
    $this->negate = TRUE;
    $key = 'NOT ' . $key;
  }
  parent::importChildren($export, $key);
}