public function PrivateMessageMailerInterface::send in Private Message 8
Send a private message notification email.
Parameters
\Drupal\private_message\Entity\PrivateMessageInterface $message: The message.
\Drupal\private_message\Entity\PrivateMessageThreadInterface $thread: The message thread.
\Drupal\user\UserInterface[] $members: The message members.
1 method overrides PrivateMessageMailerInterface::send()
- PrivateMessageMailer::send in src/
Service/ PrivateMessageMailer.php - Send a private message notification email.
File
- src/
Service/ PrivateMessageMailerInterface.php, line 23
Class
- PrivateMessageMailerInterface
- Interface for the Private Message mail service.
Namespace
Drupal\private_message\ServiceCode
public function send(PrivateMessageInterface $message, PrivateMessageThreadInterface $thread, array $members = []);