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);
Please login to continue.