NodeInterface::setCreatedTime

public NodeInterface::setCreatedTime($timestamp)

Sets the node creation timestamp.

Parameters

int $timestamp: The node creation timestamp.

Return value

\Drupal\node\NodeInterface The called node entity.

File

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

Class

NodeInterface
Provides an interface defining a node entity.

Namespace

Drupal\node

Code

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

Please login to continue.