public function PrivateMessageMapperInterface::getUnreadThreadCount in Private Message 8
Same name and namespace in other branches
- 8.2 src/Mapper/PrivateMessageMapperInterface.php \Drupal\private_message\Mapper\PrivateMessageMapperInterface::getUnreadThreadCount()
Get the current user's unread thread count.
Retrieves the number of the current user's threads that have been updated since the last time this number was checked.
Parameters
int $uid: The user ID of the user whose count should be retrieved.
int $lastCheckTimestamp: A UNIX timestamp indicating the time after which to check.
Return value
int The number of threads updated since the given timestamp
1 method overrides PrivateMessageMapperInterface::getUnreadThreadCount()
- PrivateMessageMapper::getUnreadThreadCount in src/
Mapper/ PrivateMessageMapper.php - Get the current user's unread thread count.
File
- src/
Mapper/ PrivateMessageMapperInterface.php, line 140
Class
- PrivateMessageMapperInterface
- Interface for the Private Message Thread mapper class.
Namespace
Drupal\private_message\MapperCode
public function getUnreadThreadCount($uid, $lastCheckTimestamp);