You are here

public function CommentType::getTargetEntityTypeId in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 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 97
Contains \Drupal\comment\Entity\CommentType.

Class

CommentType
Defines the comment type entity.

Namespace

Drupal\comment\Entity

Code

public function getTargetEntityTypeId() {
  return $this->target_entity_type_id;
}