public function ShipmentConfirmationMail::__construct in Commerce Shipping 8.2
Constructs a new ShipmentConfirmationMail object.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
\Drupal\commerce\MailHandlerInterface $mail_handler: The mail handler.
File
- src/
Mail/ ShipmentConfirmationMail.php, line 36
Class
Namespace
Drupal\commerce_shipping\MailCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, MailHandlerInterface $mail_handler) {
$this->entityTypeManager = $entity_type_manager;
$this->mailHandler = $mail_handler;
}