function NodeInterface::getCreatedTime

Same name in other branches
  1. 9 core/modules/node/src/NodeInterface.php \Drupal\node\NodeInterface::getCreatedTime()
  2. 10 core/modules/node/src/NodeInterface.php \Drupal\node\NodeInterface::getCreatedTime()
  3. 11.x core/modules/node/src/NodeInterface.php \Drupal\node\NodeInterface::getCreatedTime()

Gets the node creation timestamp.

Return value

int Creation timestamp of the node.

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

File

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

Class

NodeInterface
Provides an interface defining a node entity.

Namespace

Drupal\node

Code

public function getCreatedTime();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.