You are here

public function CommentTypeInterface::getTargetEntityTypeId in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/comment/src/CommentTypeInterface.php \Drupal\comment\CommentTypeInterface::getTargetEntityTypeId()
  2. 9 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();