You are here

public function RevisionLogInterface::setRevisionCreationTime in Drupal 9

Same name and namespace in other branches
  1. 8 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

1 method overrides RevisionLogInterface::setRevisionCreationTime()
NodeInterface::setRevisionCreationTime in core/modules/node/src/NodeInterface.php
Sets the node revision creation timestamp.

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);