NodeInterface::setRevisionCreationTime

public NodeInterface::setRevisionCreationTime($timestamp)

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.

Overrides RevisionLogInterface::setRevisionCreationTime

File

core/modules/node/src/NodeInterface.php, line 137

Class

NodeInterface
Provides an interface defining a node entity.

Namespace

Drupal\node

Code

public function setRevisionCreationTime($timestamp);
doc_Drupal
2016-10-29 09:30:57
Comments
Leave a Comment

Please login to continue.