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

1
public function hasParentComment();
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.