You are here

public function MailchimpListsWebhookSettingsForm::__construct in Mailchimp 8

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

Constructs a MailchimpListsWebhookSettingsForm object.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.

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

Overrides ConfigFormBase::__construct

File

modules/mailchimp_lists/src/Form/MailchimpListsWebhookSettingsForm.php, line 31

Class

MailchimpListsWebhookSettingsForm
Configure settings for a Mailchimp list webhook.

Namespace

Drupal\mailchimp_lists\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, MessengerInterface $messenger) {
  parent::__construct($config_factory);
  $this->messenger = $messenger;
}