You are here

public function MailInvoiceForm::__construct in Ubercart 8.4

Form constructor.

Parameters

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

File

uc_order/src/Form/MailInvoiceForm.php, line 36

Class

MailInvoiceForm
Defines a form to set the recipient of an invoice, then mails it.

Namespace

Drupal\uc_order\Form

Code

public function __construct(MailManagerInterface $mail_manager) {
  $this->mailManager = $mail_manager;
}