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();
doc_Drupal
2016-10-29 08:50:46
Comments
Leave a Comment

Please login to continue.