You are here

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

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

Constructs a new action form.

Parameters

\Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager.

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

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

Overrides ContentEntityForm::__construct

File

src/Form/RuleComponentForm.php, line 58

Class

RuleComponentForm
Form controller for rng rule components.

Namespace

Drupal\rng\Form

Code

public function __construct(EntityManagerInterface $entity_manager, ActionManager $action_manager, ConditionManager $condition_manager) {
  parent::__construct($entity_manager);
  $this->actionManager = $action_manager;
  $this->conditionManager = $condition_manager;
}