You are here

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

Same name and namespace in other branches
  1. 8.2 src/Form/MessageListForm.php \Drupal\rng\Form\MessageListForm::__construct()
  2. 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\Form

Code

public function __construct(RedirectDestinationInterface $redirect_destination, EventManagerInterface $event_manager) {
  $this->redirectDestination = $redirect_destination;
  $this->eventManager = $event_manager;
}