You are here

public function HtmlMailTestForm::__construct in HTML Mail 8

Same name and namespace in other branches
  1. 8.3 src/Form/HtmlMailTestForm.php \Drupal\htmlmail\Form\HtmlMailTestForm::__construct()

HtmlMailTestForm constructor.

Parameters

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

\Drupal\Core\Session\AccountInterface $account: The user account service.

File

src/Form/HtmlMailTestForm.php, line 44

Class

HtmlMailTestForm
Class HtmlMailTestForm.

Namespace

Drupal\htmlmail\Form

Code

public function __construct(MailManagerInterface $mailManager, AccountInterface $account) {
  $this->mailManager = $mailManager;
  $this->accountInterface = $account;
}