You are here

public function PrivateMessageThreadInterface::getLastAccessTime in Private Message 8

Get the last access time object for the given user.

Parameters

\Drupal\Core\Session\AccountInterface $account: The user whose last access time should be retrieved.

Return value

Drupal\private_message\Entity\PrivateMessageThreadAccessTimeInterface The PrivateMessagegThreadAccessTime object for the user's last access of the thread.

1 method overrides PrivateMessageThreadInterface::getLastAccessTime()
PrivateMessageThread::getLastAccessTime in src/Entity/PrivateMessageThread.php
Get the last access time object for the given user.

File

src/Entity/PrivateMessageThreadInterface.php, line 115

Class

PrivateMessageThreadInterface
Provides an interface defining a Private Message thread entity.

Namespace

Drupal\private_message\Entity

Code

public function getLastAccessTime(AccountInterface $account);