You are here

public function NodeInterface::setRevisionCreationTime in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/node/src/NodeInterface.php \Drupal\node\NodeInterface::setRevisionCreationTime()

Sets the node revision creation timestamp.

Parameters

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

Return value

\Drupal\node\NodeInterface The called node entity.

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

File

core/modules/node/src/NodeInterface.php, line 141
Contains \Drupal\node\NodeInterface.

Class

NodeInterface
Provides an interface defining a node entity.

Namespace

Drupal\node

Code

public function setRevisionCreationTime($timestamp);