You are here

public function WishlistShareMail::__construct in Commerce Wishlist 8.3

Constructs a new WishlistShareMail object.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The configuration factory.

\Drupal\commerce\MailHandlerInterface $mail_handler: The mail handler.

File

src/Mail/WishlistShareMail.php, line 39

Class

WishlistShareMail
Defines the wishlist share email.

Namespace

Drupal\commerce_wishlist\Mail

Code

public function __construct(ConfigFactoryInterface $config_factory, MailHandlerInterface $mail_handler) {
  $this->configFactory = $config_factory;
  $this->mailHandler = $mail_handler;
}