function CommentType::getTargetEntityTypeId

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

Overrides CommentTypeInterface::getTargetEntityTypeId

File

core/modules/comment/src/Entity/CommentType.php, line 102

Class

CommentType
Defines the comment type entity.

Namespace

Drupal\comment\Entity

Code

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

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