You are here

public function MailchimpSignupDeleteForm::__construct in Mailchimp 2.x

Same name and namespace in other branches
  1. 8 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;
}