function RevisionLogInterface::setRevisionCreationTime

Same name in other branches
  1. 9 core/lib/Drupal/Core/Entity/RevisionLogInterface.php \Drupal\Core\Entity\RevisionLogInterface::setRevisionCreationTime()
  2. 10 core/lib/Drupal/Core/Entity/RevisionLogInterface.php \Drupal\Core\Entity\RevisionLogInterface::setRevisionCreationTime()
  3. 11.x 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);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.