function NodeInterface::setRevisionCreationTime
Same name in other branches
- 8.9.x core/modules/node/src/NodeInterface.php \Drupal\node\NodeInterface::setRevisionCreationTime()
- 10 core/modules/node/src/NodeInterface.php \Drupal\node\NodeInterface::setRevisionCreationTime()
- 11.x 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
$this The called node entity.
Overrides RevisionLogInterface::setRevisionCreationTime
File
-
core/
modules/ node/ src/ NodeInterface.php, line 147
Class
- NodeInterface
- Provides an interface defining a node entity.
Namespace
Drupal\nodeCode
public function setRevisionCreationTime($timestamp);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.