You are here

interface PrivateMessageMailerInterface in Private Message 8

Interface for the Private Message mail service.

Hierarchy

Expanded class hierarchy of PrivateMessageMailerInterface

All classes that implement PrivateMessageMailerInterface

File

src/Service/PrivateMessageMailerInterface.php, line 11

Namespace

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

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