function RulesLoop::importSettings

Overrides RulesPlugin::importSettings

File

includes/rules.plugins.inc, line 762

Class

RulesLoop
A loop element.

Code

protected function importSettings($export) {
    parent::importSettings($export);
    if (isset($export['ITEM'])) {
        $this->settings['item:var'] = rules_array_key($export['ITEM']);
        $this->settings['item:label'] = reset($export['ITEM']);
    }
}