You are here

public function WishlistShareMailInterface::send in Commerce Wishlist 8.3

Sends the wishlist share email to the given address.

Parameters

\Drupal\commerce_wishlist\Entity\WishlistInterface $wishlist: The wishlist.

string $to: The address the email will be sent to.

Return value

bool TRUE if the email was sent successfully, FALSE otherwise.

1 method overrides WishlistShareMailInterface::send()
WishlistShareMail::send in src/Mail/WishlistShareMail.php
Sends the wishlist share email to the given address.

File

src/Mail/WishlistShareMailInterface.php, line 23

Class

WishlistShareMailInterface
Defines the interface for the wishlist share email.

Namespace

Drupal\commerce_wishlist\Mail

Code

public function send(WishlistInterface $wishlist, $to);