function ReactionRuleEditForm::__construct

Constructs a new object of this class.

Parameters

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

\Drupal\rules\Core\RulesEventManager $event_manager: The event plugin manager.

Overrides RulesComponentFormBase::__construct

File

src/Form/ReactionRuleEditForm.php, line 38

Class

ReactionRuleEditForm
Provides a form to edit a reaction rule.

Namespace

Drupal\rules\Form

Code

public function __construct(ExpressionManagerInterface $expression_manager, RulesEventManager $event_manager) {
    parent::__construct($expression_manager);
    $this->eventManager = $event_manager;
}