public function TestEmailForm::__construct in Reroute Email 8
Same name and namespace in other branches
- 2.x src/Form/TestEmailForm.php \Drupal\reroute_email\Form\TestEmailForm::__construct()
Constructs a new object.
Parameters
\Drupal\Core\Mail\MailManagerInterface $mail_manager: Mail manager service.
\Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager.
\Drupal\Core\Messenger\MessengerInterface $messenger: The messenger.
File
- src/
Form/ TestEmailForm.php, line 66
Class
- TestEmailForm
- Implements a form to test Reroute Email.
Namespace
Drupal\reroute_email\FormCode
public function __construct(MailManagerInterface $mail_manager, LanguageManagerInterface $language_manager, MessengerInterface $messenger) {
$this->mailManager = $mail_manager;
$this->languageManager = $language_manager;
$this->messenger = $messenger;
}