public function PrivateMessageThreadInterface::getLastAccessTimestamp in Private Message 8
Same name and namespace in other branches
- 8.2 src/Entity/PrivateMessageThreadInterface.php \Drupal\private_message\Entity\PrivateMessageThreadInterface::getLastAccessTimestamp()
Get the last access timestamp for the given user.
Parameters
\Drupal\Core\Session\AccountInterface $account: The user whose last access time should be retrieved.
Return value
int The timestamp at which the user last accessed the thread
1 method overrides PrivateMessageThreadInterface::getLastAccessTimestamp()
- PrivateMessageThread::getLastAccessTimestamp in src/
Entity/ PrivateMessageThread.php - Get the last access timestamp for the given user.
File
- src/
Entity/ PrivateMessageThreadInterface.php, line 134
Class
- PrivateMessageThreadInterface
- Provides an interface defining a Private Message thread entity.
Namespace
Drupal\private_message\EntityCode
public function getLastAccessTimestamp(AccountInterface $account);