You are here

public function MailchimpCampaignSendForm::__construct in Mailchimp 8

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

Constructs a MailchimpCampaignSendForm object.

Parameters

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

File

modules/mailchimp_campaign/src/Form/MailchimpCampaignSendForm.php, line 31

Class

MailchimpCampaignSendForm
Form controller for the MailchimpCampaign send campaign form.

Namespace

Drupal\mailchimp_campaign\Form

Code

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