function CommentInterface::getTypeId

Same name and namespace in other branches
  1. 9 core/modules/comment/src/CommentInterface.php \Drupal\comment\CommentInterface::getTypeId()
  2. 8.9.x core/modules/comment/src/CommentInterface.php \Drupal\comment\CommentInterface::getTypeId()
  3. 10 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\comment

Code

public function getTypeId();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.