You are here

public function MailingListController::__construct in Mailing List 8

Construct a MailingListController instance.

Parameters

\Drupal\mailing_list\MailingListManagerInterface $mailing_list_manager: The mailing list manager.

File

src/Controller/MailingListController.php, line 32

Class

MailingListController
Returns responses for Mailing list routes.

Namespace

Drupal\mailing_list\Controller

Code

public function __construct(MailingListManagerInterface $mailing_list_manager) {
  $this->mailingListManager = $mailing_list_manager;
}