You are here

public function RevisionLogInterface::setRevisionCreationTime in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Entity/RevisionLogInterface.php \Drupal\Core\Entity\RevisionLogInterface::setRevisionCreationTime()
  2. 9 core/lib/Drupal/Core/Entity/RevisionLogInterface.php \Drupal\Core\Entity\RevisionLogInterface::setRevisionCreationTime()

Sets the entity revision creation timestamp.

Parameters

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

Return value

$this

File

core/lib/Drupal/Core/Entity/RevisionLogInterface.php, line 28

Class

RevisionLogInterface
Defines methods for an entity that supports revision logging and ownership.

Namespace

Drupal\Core\Entity

Code

public function setRevisionCreationTime($timestamp);