function RulesComponentActionDeriver::__construct

Creates a new RulesComponentActionDeriver object.

Parameters

\Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage.

\Drupal\rules\Engine\ExpressionManagerInterface $expression_manager: The Rules expression manager.

File

src/Plugin/RulesAction/RulesComponentActionDeriver.php, line 42

Class

RulesComponentActionDeriver
Derives Rules component action plugin definitions from config entities.

Namespace

Drupal\rules\Plugin\RulesAction

Code

public function __construct(EntityStorageInterface $storage, ExpressionManagerInterface $expression_manager) {
    $this->storage = $storage;
    $this->expressionManager = $expression_manager;
}