You are here

public function SupportTicket::setRevisionCreationTime in Support Ticketing System 8

Sets the support ticket revision creation timestamp.

Parameters

int $timestamp: The UNIX timestamp of when this revision was created.

Return value

\Drupal\support_ticket\SupportTicketInterface The called support ticket entity.

Overrides SupportTicketInterface::setRevisionCreationTime

File

modules/support_ticket/src/Entity/SupportTicket.php, line 255
Contains \Drupal\support_ticket\Entity\SupportTicket.

Class

SupportTicket
Defines the support ticket entity class.

Namespace

Drupal\support_ticket\Entity

Code

public function setRevisionCreationTime($timestamp) {
  $this
    ->set('revision_timestamp', $timestamp);
  return $this;
}