PrivateMessageMailerInterface.php in Private Message 8
Namespace
Drupal\private_message\ServiceFile
src/Service/PrivateMessageMailerInterface.phpView source
<?php
namespace Drupal\private_message\Service;
use Drupal\private_message\Entity\PrivateMessageInterface;
use Drupal\private_message\Entity\PrivateMessageThreadInterface;
/**
* Interface for the Private Message mail service.
*/
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 = []);
}
Interfaces
Name | Description |
---|---|
PrivateMessageMailerInterface | Interface for the Private Message mail service. |