public function PrivateMessageThreadInterface::addHistoryRecord in Private Message 8.2
Add a history record to the current thread for the given user.
Parameters
\Drupal\Core\Session\AccountInterface $account: The user whose access time should be updated.
1 method overrides PrivateMessageThreadInterface::addHistoryRecord()
- PrivateMessageThread::addHistoryRecord in src/
Entity/ PrivateMessageThread.php - Add a history record to the current thread for the given user.
File
- src/
Entity/ PrivateMessageThreadInterface.php, line 108
Class
- PrivateMessageThreadInterface
- Provides an interface defining a Private Message thread entity.
Namespace
Drupal\private_message\EntityCode
public function addHistoryRecord(AccountInterface $account);