public function MessageListForm::__construct in RNG - Events and Registrations 8
Same name and namespace in other branches
- 8.2 src/Form/MessageListForm.php \Drupal\rng\Form\MessageListForm::__construct()
- 3.x src/Form/MessageListForm.php \Drupal\rng\Form\MessageListForm::__construct()
Constructs a new message list form.
Parameters
\Drupal\Core\Routing\RedirectDestinationInterface $redirect_destination: The redirect destination service.
\Drupal\rng\EventManagerInterface $event_manager: The RNG event manager.
File
- src/
Form/ MessageListForm.php, line 42
Class
- MessageListForm
- Creates message list form.
Namespace
Drupal\rng\FormCode
public function __construct(RedirectDestinationInterface $redirect_destination, EventManagerInterface $event_manager) {
$this->redirectDestination = $redirect_destination;
$this->eventManager = $event_manager;
}