You are here

interface PrivateMessageNotifierInterface in Private Message 8.2

Interface for the Private Message notification service.

Hierarchy

Expanded class hierarchy of PrivateMessageNotifierInterface

All classes that implement PrivateMessageNotifierInterface

File

src/Service/PrivateMessageNotifierInterface.php, line 11

Namespace

Drupal\private_message\Service
View 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

Namesort descending Modifiers Type Description Overrides
PrivateMessageNotifierInterface::notify public function Send a private message notification email. 1