function 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 30

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.