You are here

public function Node::getRevisionCreationTime in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/node/src/Entity/Node.php \Drupal\node\Entity\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 294
Contains \Drupal\node\Entity\Node.

Class

Node
Defines the node entity class.

Namespace

Drupal\node\Entity

Code

public function getRevisionCreationTime() {
  return $this
    ->get('revision_timestamp')->value;
}