public function MailchimpSignupPageForm::__construct in Mailchimp 2.x
Same name and namespace in other branches
- 8 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\FormCode
public function __construct(MessengerInterface $messenger) {
$this->messenger = $messenger;
}