You are here

public function SendGridTestForm::__construct in SendGrid Integration 8

Same name and namespace in other branches
  1. 8.2 src/Form/SendGridTestForm.php \Drupal\sendgrid_integration\Form\SendGridTestForm::__construct()

SendGridTestForm constructor.

Parameters

\Drupal\Core\Mail\MailManagerInterface $mailManager: The mail manager service.

\Drupal\Core\Language\LanguageManagerInterface $languageManager: The language manager service.

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

File

src/Form/SendGridTestForm.php, line 50

Class

SendGridTestForm
Class SendGridSettingsForm.

Namespace

Drupal\sendgrid_integration\Form

Code

public function __construct(MailManagerInterface $mailManager, LanguageManagerInterface $languageManager, MessengerInterface $messenger) {
  $this->mailManager = $mailManager;
  $this->languageManager = $languageManager;
  $this->messenger = $messenger;
}