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