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::getTypeId

public CommentInterface::getTypeId() Get the comment type id for this comment. Return value string The id of the comment type. File core/modules/comment/src/CommentInterface.php, line 253 Class CommentInterface Provides an interface defining a comment entity. Namespace Drupal\comment Code public function getTypeId();

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::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::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::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();

CommentInterface::getFieldName

public CommentInterface::getFieldName() Returns the name of the field the comment is attached to. Return value string The name of the field the comment is attached to. File core/modules/comment/src/CommentInterface.php, line 81 Class CommentInterface Provides an interface defining a comment entity. Namespace Drupal\comment Code public function getFieldName();