You are here

public function MailingListForm::__construct in Mailing List 8

Constructs the MailingListForm object.

Parameters

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

File

src/Form/MailingListForm.php, line 29

Class

MailingListForm
Form handler for mailing list forms.

Namespace

Drupal\mailing_list\Form

Code

public function __construct(EntityManagerInterface $entity_manager) {
  $this->entityManager = $entity_manager;
}