function CommentInterface::getTypeId
Same name in other branches
- 8.9.x core/modules/comment/src/CommentInterface.php \Drupal\comment\CommentInterface::getTypeId()
- 10 core/modules/comment/src/CommentInterface.php \Drupal\comment\CommentInterface::getTypeId()
- 11.x core/modules/comment/src/CommentInterface.php \Drupal\comment\CommentInterface::getTypeId()
Get the comment type id for this comment.
Return value
string The id of the comment type.
1 method overrides CommentInterface::getTypeId()
- Comment::getTypeId in core/
modules/ comment/ src/ Entity/ Comment.php - Get the comment type ID for this comment.
File
-
core/
modules/ comment/ src/ CommentInterface.php, line 244
Class
- CommentInterface
- Provides an interface defining a comment entity.
Namespace
Drupal\commentCode
public function getTypeId();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.