CommentInterface::NOT_PUBLISHED

Comment is awaiting approval. File core/modules/comment/src/CommentInterface.php, line 17 Class CommentInterface Provides an interface defining a comment entity. Namespace Drupal\comment Code const NOT_PUBLISHED = 0;

CommentInterface::getThread

public CommentInterface::getThread() Returns the alphadecimal representation of the comment's place in a thread. Return value string The alphadecimal representation of the comment's place in a thread. File core/modules/comment/src/CommentInterface.php, line 227 Class CommentInterface Provides an interface defining a comment entity. Namespace Drupal\comment Code public function getThread();

CommentInterface::isPublished

public CommentInterface::isPublished() Checks if the comment is published. Return value bool TRUE if the comment is published. File core/modules/comment/src/CommentInterface.php, line 200 Class CommentInterface Provides an interface defining a comment entity. Namespace Drupal\comment Code public function isPublished();

CommentInterface::hasParentComment

public CommentInterface::hasParentComment() Determines if this comment is a reply to another comment. Return value bool TRUE if the comment has a parent comment otherwise FALSE. File core/modules/comment/src/CommentInterface.php, line 30 Class CommentInterface Provides an interface defining a comment entity. Namespace Drupal\comment Code public function hasParentComment();

CommentInterface::getStatus

public CommentInterface::getStatus() Returns the comment's status. Return value int One of CommentInterface::PUBLISHED or CommentInterface::NOT_PUBLISHED File core/modules/comment/src/CommentInterface.php, line 208 Class CommentInterface Provides an interface defining a comment entity. Namespace Drupal\comment Code public function getStatus();

CommentInterface::getParentComment

public CommentInterface::getParentComment() Returns the parent comment entity if this is a reply to a comment. Return value \Drupal\comment\CommentInterface|null A comment entity of the parent comment or NULL if there is no parent. File core/modules/comment/src/CommentInterface.php, line 38 Class CommentInterface Provides an interface defining a comment entity. Namespace Drupal\comment Code public function getParentComment();

CommentInterface::getSubject

public CommentInterface::getSubject() Returns the subject of the comment. Return value string The subject of the comment. File core/modules/comment/src/CommentInterface.php, line 89 Class CommentInterface Provides an interface defining a comment entity. Namespace Drupal\comment Code public function getSubject();

CommentInterface::getCreatedTime

public CommentInterface::getCreatedTime() Returns the time that the comment was created. Return value int The timestamp of when the comment was created. File core/modules/comment/src/CommentInterface.php, line 181 Class CommentInterface Provides an interface defining a comment entity. Namespace Drupal\comment Code public function getCreatedTime();

CommentInterface::getHostname

public CommentInterface::getHostname() Returns the comment author's hostname. Return value string The hostname of the author of the comment. File core/modules/comment/src/CommentInterface.php, line 162 Class CommentInterface Provides an interface defining a comment entity. Namespace Drupal\comment Code public function getHostname();

CommentInterface::getHomepage

public CommentInterface::getHomepage() Returns the comment author's home page address. For anonymous authors, this is the value as typed in the comment form. Return value string The homepage address of the author of the comment. File core/modules/comment/src/CommentInterface.php, line 141 Class CommentInterface Provides an interface defining a comment entity. Namespace Drupal\comment Code public function getHomepage();