interface WishlistShareMailInterface in Commerce Wishlist 8.3
Defines the interface for the wishlist share email.
Hierarchy
- interface \Drupal\commerce_wishlist\Mail\WishlistShareMailInterface
Expanded class hierarchy of WishlistShareMailInterface
All classes that implement WishlistShareMailInterface
1 file declares its use of WishlistShareMailInterface
- WishlistShareForm.php in src/
Form/ WishlistShareForm.php
File
- src/
Mail/ WishlistShareMailInterface.php, line 10
Namespace
Drupal\commerce_wishlist\MailView source
interface WishlistShareMailInterface {
/**
* Sends the wishlist share email to the given address.
*
* @param \Drupal\commerce_wishlist\Entity\WishlistInterface $wishlist
* The wishlist.
* @param string $to
* The address the email will be sent to.
*
* @return bool
* TRUE if the email was sent successfully, FALSE otherwise.
*/
public function send(WishlistInterface $wishlist, $to);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
WishlistShareMailInterface:: |
public | function | Sends the wishlist share email to the given address. | 1 |