public function Comment::getTypeId in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/modules/comment/src/Entity/Comment.php \Drupal\comment\Entity\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 583 - Contains \Drupal\comment\Entity\Comment.
Class
- Comment
- Defines the comment entity class.
Namespace
Drupal\comment\EntityCode
public function getTypeId() {
return $this
->bundle();
}