You are here

public function PrivateMessageMapperInterface::checkForNextThread in Private Message 8.2

Same name and namespace in other branches
  1. 8 src/Mapper/PrivateMessageMapperInterface.php \Drupal\private_message\Mapper\PrivateMessageMapperInterface::checkForNextThread()

Check if a thread exists after with an ID greater than the given thread ID.

Parameters

\Drupal\user\UserInterface $user: The user for whom to check.

int $timestamp: The timestamp to check against.

Return value

bool TRUE if a previous thread exists, FALSE if one doesn't.

1 method overrides PrivateMessageMapperInterface::checkForNextThread()
PrivateMessageMapper::checkForNextThread in src/Mapper/PrivateMessageMapper.php
Check if a thread exists after with an ID greater than the given thread ID.

File

src/Mapper/PrivateMessageMapperInterface.php, line 68

Class

PrivateMessageMapperInterface
Interface for the Private Message Thread mapper class.

Namespace

Drupal\private_message\Mapper

Code

public function checkForNextThread(UserInterface $user, $timestamp);