You are here

public function PrivateMessageThreadDeleteTimeInterface::setDeleteTime in Private Message 8

Set the delete time for the thread that references this entity.

The delete time is unique for each member of the thread. If all members of the thread mark the thread as deleted, then the thread is hard deleted.

Parameters

int $timestamp: The Unix timestamp at which the thread was marked as deleted.

1 method overrides PrivateMessageThreadDeleteTimeInterface::setDeleteTime()
PrivateMessageThreadDeleteTime::setDeleteTime in src/Entity/PrivateMessageThreadDeleteTime.php
Set the delete time for the thread that references this entity.

File

src/Entity/PrivateMessageThreadDeleteTimeInterface.php, line 24

Class

PrivateMessageThreadDeleteTimeInterface
Provides an interface defining a Private Message Thread Delation entity.

Namespace

Drupal\private_message\Entity

Code

public function setDeleteTime($timestamp);