You are here

public function MailchimpSignupPageForm::__construct in Mailchimp 8

Same name and namespace in other branches
  1. 2.x modules/mailchimp_signup/src/Form/MailchimpSignupPageForm.php \Drupal\mailchimp_signup\Form\MailchimpSignupPageForm::__construct()

MailchimpSignupPageForm constructor.

Parameters

\Drupal\Core\Messenger\MessengerInterface $messenger: The messenger service.

File

modules/mailchimp_signup/src/Form/MailchimpSignupPageForm.php, line 34

Class

MailchimpSignupPageForm
Subscribe to a Mailchimp list/audience.

Namespace

Drupal\mailchimp_signup\Form

Code

public function __construct(MessengerInterface $messenger) {
  $this->messenger = $messenger;
}