You are here

public function MailchimpCampaignDeleteForm::__construct in Mailchimp 8

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

Constructs a MailchimpCampaignDeleteForm object.

Parameters

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

File

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

Class

MailchimpCampaignDeleteForm
Form controller for the MailchimpCampaign entity delete form.

Namespace

Drupal\mailchimp_campaign\Form

Code

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