function Rule::exportToArray

Overrides RulesActionContainer::exportToArray

File

includes/rules.plugins.inc, line 304

Class

Rule
An actual rule.

Code

protected function exportToArray() {
    $export = parent::exportToArray();
    if (!$this->isRoot()) {
        $export[strtoupper($this->plugin())]['LABEL'] = $this->label;
    }
    return $export;
}