function CommentTypeInterface::getTargetEntityTypeId

Same name in other branches
  1. 9 core/modules/comment/src/CommentTypeInterface.php \Drupal\comment\CommentTypeInterface::getTargetEntityTypeId()
  2. 8.9.x core/modules/comment/src/CommentTypeInterface.php \Drupal\comment\CommentTypeInterface::getTargetEntityTypeId()
  3. 10 core/modules/comment/src/CommentTypeInterface.php \Drupal\comment\CommentTypeInterface::getTargetEntityTypeId()

Gets the target entity type id for this comment type.

Return value

string The target entity type id.

1 method overrides CommentTypeInterface::getTargetEntityTypeId()
CommentType::getTargetEntityTypeId in core/modules/comment/src/Entity/CommentType.php
Gets the target entity type id for this comment type.

File

core/modules/comment/src/CommentTypeInterface.php, line 36

Class

CommentTypeInterface
Provides an interface defining a comment type entity.

Namespace

Drupal\comment

Code

public function getTargetEntityTypeId();

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