You are here

public function PrivateMessageNotifierInterface::notify in Private Message 8.2

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 PrivateMessageNotifierInterface::notify()
PrivateMessageNotifier::notify in src/Service/PrivateMessageNotifier.php
Send a private message notification email.

File

src/Service/PrivateMessageNotifierInterface.php, line 23

Class

PrivateMessageNotifierInterface
Interface for the Private Message notification service.

Namespace

Drupal\private_message\Service

Code

public function notify(PrivateMessageInterface $message, PrivateMessageThreadInterface $thread, array $members = []);