interface PrivateMessageNotifierInterface in Private Message 8.2
Interface for the Private Message notification service.
Hierarchy
- interface \Drupal\private_message\Service\PrivateMessageNotifierInterface
Expanded class hierarchy of PrivateMessageNotifierInterface
All classes that implement PrivateMessageNotifierInterface
File
- src/
Service/ PrivateMessageNotifierInterface.php, line 11
Namespace
Drupal\private_message\ServiceView source
interface PrivateMessageNotifierInterface {
/**
* 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 notify(PrivateMessageInterface $message, PrivateMessageThreadInterface $thread, array $members = []);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PrivateMessageNotifierInterface:: |
public | function | Send a private message notification email. | 1 |