CommentType::getTargetEntityTypeId

public 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 92

Class

CommentType
Defines the comment type entity.

Namespace

Drupal\comment\Entity

Code

1
2
3
public function getTargetEntityTypeId() {
  return $this->target_entity_type_id;
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.