You are here

public function CommentInterface::getCreatedTime in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/comment/src/CommentInterface.php \Drupal\comment\CommentInterface::getCreatedTime()

Returns the time that the comment was created.

Return value

int The timestamp of when the comment was created.

1 method overrides CommentInterface::getCreatedTime()
Comment::getCreatedTime in core/modules/comment/src/Entity/Comment.php
Returns the time that the comment was created.

File

core/modules/comment/src/CommentInterface.php, line 198

Class

CommentInterface
Provides an interface defining a comment entity.

Namespace

Drupal\comment

Code

public function getCreatedTime();