public function OrderCreateForm::__construct in Ubercart 8.4
Form constructor.
Parameters
\Drupal\Core\Mail\MailManagerInterface $mail_manager: The mail manager service.
File
- uc_order/
src/ Form/ OrderCreateForm.php, line 31
Class
- OrderCreateForm
- Creates a new order and redirect to its edit screen.
Namespace
Drupal\uc_order\FormCode
public function __construct(MailManagerInterface $mail_manager) {
$this->mailManager = $mail_manager;
}