public function RevisionLogInterface::setRevisionCreationTime

public RevisionLogInterface::setRevisionCreationTime($timestamp)

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!RevisionLogInterface.php/function/RevisionLogInterface::setRevisionCreationTime/8.1.x