You are here

public function PrivateMessageServiceInterface::getThreadsForUser in Private Message 8

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

Retrieve private message threads for a given user.

Parameters

int $count: The number of threads to retrieve.

int $timestamp: A timestamp relative to which only threads with an earlier timestamp should be returned.

Return value

array An array with two keys:

1 method overrides PrivateMessageServiceInterface::getThreadsForUser()
PrivateMessageService::getThreadsForUser in src/Service/PrivateMessageService.php
Retrieve private message threads for a given user.

File

src/Service/PrivateMessageServiceInterface.php, line 61

Class

PrivateMessageServiceInterface
The interface for the Private Message Service.

Namespace

Drupal\private_message\Service

Code

public function getThreadsForUser($count, $timestamp = FALSE);