function CommentTypeListBuilder::__construct

Same name and namespace in other branches
  1. 10 core/modules/comment/src/CommentTypeListBuilder.php \Drupal\comment\CommentTypeListBuilder::__construct()

Constructs a new CommentTypeListBuilder object.

Parameters

\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition.

\Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage class.

\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: The entity type manager.

Overrides EntityListBuilder::__construct

File

core/modules/comment/src/CommentTypeListBuilder.php, line 29

Class

CommentTypeListBuilder
Defines a class to build a listing of comment type entities.

Namespace

Drupal\comment

Code

public function __construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, EntityTypeManagerInterface $entityTypeManager) {
    parent::__construct($entity_type, $storage);
}

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