public function HtmlMailTestForm::__construct in HTML Mail 8.3
Same name and namespace in other branches
- 8 src/Form/HtmlMailTestForm.php \Drupal\htmlmail\Form\HtmlMailTestForm::__construct()
HtmlMailTestForm constructor.
Parameters
\Drupal\Core\Mail\MailManagerInterface $mail_manager: The mail manager service.
\Drupal\Core\Session\AccountInterface $account: The user account service.
File
- src/
Form/ HtmlMailTestForm.php, line 45
Class
- HtmlMailTestForm
- Class HtmlMailTestForm.
Namespace
Drupal\htmlmail\FormCode
public function __construct(MailManagerInterface $mail_manager, AccountInterface $account) {
$this->mailManager = $mail_manager;
$this->accountInterface = $account;
}