You are here

private function PrivateMessageThreadManager::sendNotification in Private Message 8.2

Send the notification.

Return value

$this

File

src/Service/PrivateMessageThreadManager.php, line 118

Class

PrivateMessageThreadManager
The Private Message generator class.

Namespace

Drupal\private_message\Service

Code

private function sendNotification() {
  $this->privateMessageNotifier
    ->notify($this->message, $this->thread, $this
    ->getNotificationRecipients());
  return $this;
}