public function PrivateMessageThreadAccessTime::setAccessTime in Private Message 8
Set the time of the last access.
Parameters
int $timestamp: The UNIX timestamp at which the private message thread that references this entity was last accessed by the given user.
Overrides PrivateMessageThreadAccessTimeInterface::setAccessTime
File
- src/
Entity/ PrivateMessageThreadAccessTime.php, line 33
Class
- PrivateMessageThreadAccessTime
- The Private Message Thread Access Time entity type definition.
Namespace
Drupal\private_message\EntityCode
public function setAccessTime($timestamp) {
$this
->set('access_time', $timestamp);
return $this;
}