function Rule::import

Overrides RulesActionContainer::import

File

includes/rules.plugins.inc, line 320

Class

Rule
An actual rule.

Code

public function import(array $export) {
    if (!$this->isRoot() && isset($export[strtoupper($this->plugin())]['LABEL'])) {
        $this->label = $export[strtoupper($this->plugin())]['LABEL'];
    }
    parent::import($export);
}