You are here

public function MailchimpSignupDeleteForm::__construct in Mailchimp 8

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

MailchimpSignupDeleteForm constructor.

Parameters

\Drupal\Core\Routing\RouteBuilderInterface $router_builder: The router builder service.

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

File

modules/mailchimp_signup/src/Form/MailchimpSignupDeleteForm.php, line 41

Class

MailchimpSignupDeleteForm
Form controller for the MailchimpSignup entity delete form.

Namespace

Drupal\mailchimp_signup\Form

Code

public function __construct(RouteBuilderInterface $router_builder, MessengerInterface $messenger) {
  $this->routerBuilder = $router_builder;
  $this->messenger = $messenger;
}