public function EventAccessForm::__construct in RNG - Events and Registrations 8
Same name and namespace in other branches
- 8.2 src/Form/EventAccessForm.php \Drupal\rng\Form\EventAccessForm::__construct()
 - 3.x src/Form/EventAccessForm.php \Drupal\rng\Form\EventAccessForm::__construct()
 
Constructs a new EventAccessForm object.
Parameters
\Drupal\Core\Action\ActionManager $actionManager: The action manager.
\Drupal\Core\Condition\ConditionManager $conditionManager: The condition manager.
\Drupal\rng\EventManagerInterface $event_manager: The RNG event manager.
\Drupal\Core\Routing\RedirectDestinationInterface $redirect_destination: The redirect destination service.
File
- src/
Form/ EventAccessForm.php, line 68  
Class
- EventAccessForm
 - Form to edit event access.
 
Namespace
Drupal\rng\FormCode
public function __construct(ActionManager $actionManager, ConditionManager $conditionManager, EventManagerInterface $event_manager, RedirectDestinationInterface $redirect_destination) {
  $this->actionManager = $actionManager;
  $this->conditionManager = $conditionManager;
  $this->eventManager = $event_manager;
  $this->redirectDestination = $redirect_destination;
}