You are here

public function RulesActionContainer::import in Rules 7.2

Applies the given export.

Overrides RulesContainerPlugin::import

1 call to RulesActionContainer::import()
Rule::import in includes/rules.plugins.inc
Applies the given export.
1 method overrides RulesActionContainer::import()
Rule::import in includes/rules.plugins.inc
Applies the given export.

File

includes/rules.core.inc, line 2568
Rules base classes and interfaces needed for any rule evaluation.

Class

RulesActionContainer
Base class for all action containers.

Code

public function import(array $export) {
  parent::import($export);
  if (!empty($export['PROVIDES VARIABLES'])) {
    $this->info['provides'] = $export['PROVIDES VARIABLES'];
  }
}