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