public function PrivateMessageThreadInterface::getLastDeleteTime in Private Message 8
Get the last delete time object for the given user.
Parameters
\Drupal\Core\Session\AccountInterface $account: The user whose last delete time should be retrieved.
Return value
bool|\Drupal\private_message\Entity\PrivateMessageThreadDeleteTimeInterface
- If the user has not deleted the thread, FALSE
- If the user has deleted the thread, a PrivateMessageThreadAccessTimeInterface object
1 method overrides PrivateMessageThreadInterface::getLastDeleteTime()
- PrivateMessageThread::getLastDeleteTime in src/
Entity/ PrivateMessageThread.php - Get the last delete time object for the given user.
File
- src/
Entity/ PrivateMessageThreadInterface.php, line 163
Class
- PrivateMessageThreadInterface
- Provides an interface defining a Private Message thread entity.
Namespace
Drupal\private_message\EntityCode
public function getLastDeleteTime(AccountInterface $account);