public function CommentType::getTargetEntityTypeId in Drupal 10
Same name and namespace in other branches
- 8 core/modules/comment/src/Entity/CommentType.php \Drupal\comment\Entity\CommentType::getTargetEntityTypeId()
- 9 core/modules/comment/src/Entity/CommentType.php \Drupal\comment\Entity\CommentType::getTargetEntityTypeId()
Gets the target entity type id for this comment type.
Return value
string The target entity type id.
Overrides CommentTypeInterface::getTargetEntityTypeId
File
- core/
modules/ comment/ src/ Entity/ CommentType.php, line 102
Class
- CommentType
- Defines the comment type entity.
Namespace
Drupal\comment\EntityCode
public function getTargetEntityTypeId() {
return $this->target_entity_type_id;
}