interface PrivateMessageMailerInterface in Private Message 8
Interface for the Private Message mail service.
Hierarchy
- interface \Drupal\private_message\Service\PrivateMessageMailerInterface
Expanded class hierarchy of PrivateMessageMailerInterface
All classes that implement PrivateMessageMailerInterface
File
- src/
Service/ PrivateMessageMailerInterface.php, line 11
Namespace
Drupal\private_message\ServiceView source
interface PrivateMessageMailerInterface {
/**
* Send a private message notification email.
*
* @param \Drupal\private_message\Entity\PrivateMessageInterface $message
* The message.
* @param \Drupal\private_message\Entity\PrivateMessageThreadInterface $thread
* The message thread.
* @param \Drupal\user\UserInterface[] $members
* The message members.
*/
public function send(PrivateMessageInterface $message, PrivateMessageThreadInterface $thread, array $members = []);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PrivateMessageMailerInterface:: |
public | function | Send a private message notification email. | 1 |