Node::getRevisionCreationTime

public Node::getRevisionCreationTime()

Gets the node revision creation timestamp.

Return value

int The UNIX timestamp of when this revision was created.

Overrides NodeInterface::getRevisionCreationTime

File

core/modules/node/src/Entity/Node.php, line 293

Class

Node
Defines the node entity class.

Namespace

Drupal\node\Entity

Code

public function getRevisionCreationTime() {
  return $this->get('revision_timestamp')->value;
}
doc_Drupal
2016-10-29 09:30:21
Comments
Leave a Comment

Please login to continue.