You are here

public function EntityManagerWrapper::getListBuilder in Devel 4.x

Same name and namespace in other branches
  1. 8.3 webprofiler/src/Entity/EntityManagerWrapper.php \Drupal\webprofiler\Entity\EntityManagerWrapper::getListBuilder()
  2. 8 webprofiler/src/Entity/EntityManagerWrapper.php \Drupal\webprofiler\Entity\EntityManagerWrapper::getListBuilder()
  3. 8.2 webprofiler/src/Entity/EntityManagerWrapper.php \Drupal\webprofiler\Entity\EntityManagerWrapper::getListBuilder()

Creates a new entity list builder.

Parameters

string $entity_type_id: The entity type ID for this list builder.

Return value

\Drupal\Core\Entity\EntityListBuilderInterface An entity list builder instance.

Overrides EntityTypeManagerInterface::getListBuilder

File

webprofiler/src/Entity/EntityManagerWrapper.php, line 169

Class

EntityManagerWrapper
Class EntityManagerWrapper.

Namespace

Drupal\webprofiler\Entity

Code

public function getListBuilder($entity_type) {
  return $this->entityTypeManager
    ->getListBuilder($entity_type);
}