EntityTypeManager::getListBuilder

public EntityTypeManager::getListBuilder($entity_type)

Creates a new entity list builder.

Parameters

string $entity_type: The entity type for this list builder.

Return value

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

Overrides EntityTypeManagerInterface::getListBuilder

File

core/lib/Drupal/Core/Entity/EntityTypeManager.php, line 175

Class

EntityTypeManager
Manages entity type plugin definitions.

Namespace

Drupal\Core\Entity

Code

public function getListBuilder($entity_type) {
  return $this->getHandler($entity_type, 'list_builder');
}
doc_Drupal
2016-10-29 09:08:36
Comments
Leave a Comment

Please login to continue.