public Comment::getTypeId()
Get the comment type ID for this comment.
Return value
string The ID of the comment type.
Overrides CommentInterface::getTypeId
File
- core/modules/comment/src/Entity/Comment.php, line 562
Class
- Comment
- Defines the comment entity class.
Namespace
Drupal\comment\Entity
Code
public function getTypeId() { return $this->bundle(); }
Please login to continue.