You are here

public function PrivateMessageServiceInterface::getNewMessages in Private Message 8

Same name and namespace in other branches
  1. 8.2 src/Service/PrivateMessageServiceInterface.php \Drupal\private_message\Service\PrivateMessageServiceInterface::getNewMessages()

Retrieve a users private messages created after the given ID.

Parameters

int $threadId: The ID of the thread from which messages should be retrieved.

int $messageId: The ID after which messages should be retrieved.

Return value

array An array containing any new messages that the user has permission to view

1 method overrides PrivateMessageServiceInterface::getNewMessages()
PrivateMessageService::getNewMessages in src/Service/PrivateMessageService.php
Retrieve a users private messages created after the given ID.

File

src/Service/PrivateMessageServiceInterface.php, line 74

Class

PrivateMessageServiceInterface
The interface for the Private Message Service.

Namespace

Drupal\private_message\Service

Code

public function getNewMessages($threadId, $messageId);