You are here

public function EventTypeRuleComponentEdit::__construct in RNG - Events and Registrations 8

Same name and namespace in other branches
  1. 8.2 src/Form/EventTypeRuleComponentEdit.php \Drupal\rng\Form\EventTypeRuleComponentEdit::__construct()
  2. 3.x src/Form/EventTypeRuleComponentEdit.php \Drupal\rng\Form\EventTypeRuleComponentEdit::__construct()

Constructs a new MessageActionForm object.

Parameters

\Drupal\Core\Action\ActionManager $action_manager: The action manager.

\Drupal\Core\Condition\ConditionManager $condition_manager: The condition manager.

\Drupal\rng\EventManagerInterface $event_manager: The RNG event manager.

File

src/Form/EventTypeRuleComponentEdit.php, line 78

Class

EventTypeRuleComponentEdit
Configure event settings.

Namespace

Drupal\rng\Form

Code

public function __construct(ActionManager $action_manager, ConditionManager $condition_manager, EventManagerInterface $event_manager) {
  $this->actionManager = $action_manager;
  $this->conditionManager = $condition_manager;
  $this->eventManager = $event_manager;
}