You are here

public function PrivateMessageServiceInterface::getPreviousMessages in Private Message 8.2

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

Retrieve old messages for a user that were created before the given ID.

Parameters

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

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

Return value

array An array containing the following to keys:

1 method overrides PrivateMessageServiceInterface::getPreviousMessages()
PrivateMessageService::getPreviousMessages in src/Service/PrivateMessageService.php
Retrieve old messages for a user that were created before the given ID.

File

src/Service/PrivateMessageServiceInterface.php, line 101

Class

PrivateMessageServiceInterface
The interface for the Private Message Service.

Namespace

Drupal\private_message\Service

Code

public function getPreviousMessages($threadId, $messageId);