public function PrivateMessageMapperInterface::getThreadIdsForUser in Private Message 8.2
Same name and namespace in other branches
- 8 src/Mapper/PrivateMessageMapperInterface.php \Drupal\private_message\Mapper\PrivateMessageMapperInterface::getThreadIdsForUser()
Retrieve a list of thread IDs for threads the user belongs to.
Parameters
\Drupal\user\UserInterface $user: The user whose most recently thread IDs should be retrieved.
mixed $count: The number of thread IDs to retrieve or FALSE to retrieve them all.
int $timestamp: A timestamp relative to which only thread IDs with an earlier timestamp should be returned.
Return value
array An array of thread IDs if any threads exist.
1 method overrides PrivateMessageMapperInterface::getThreadIdsForUser()
- PrivateMessageMapper::getThreadIdsForUser in src/
Mapper/ PrivateMessageMapper.php - Retrieve a list of thread IDs for threads the user belongs to.
File
- src/
Mapper/ PrivateMessageMapperInterface.php, line 55
Class
- PrivateMessageMapperInterface
- Interface for the Private Message Thread mapper class.
Namespace
Drupal\private_message\MapperCode
public function getThreadIdsForUser(UserInterface $user, $count = FALSE, $timestamp = FALSE);