function EntityListBuilder::load
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/EntityListBuilder.php \Drupal\Core\Entity\EntityListBuilder::load()
- 8.9.x core/lib/Drupal/Core/Entity/EntityListBuilder.php \Drupal\Core\Entity\EntityListBuilder::load()
- 11.x core/lib/Drupal/Core/Entity/EntityListBuilder.php \Drupal\Core\Entity\EntityListBuilder::load()
Overrides EntityListBuilderInterface::load
1 call to EntityListBuilder::load()
- EntityListBuilder::render in core/
lib/ Drupal/ Core/ Entity/ EntityListBuilder.php - Builds the entity listing as renderable array for table.html.twig.
4 methods override EntityListBuilder::load()
- ConfigEntityListBuilder::load in core/
lib/ Drupal/ Core/ Config/ Entity/ ConfigEntityListBuilder.php - Loads entities of this type from storage for listing.
- ModeratedNodeListBuilder::load in core/
modules/ content_moderation/ src/ ModeratedNodeListBuilder.php - Loads entities of this type from storage for listing.
- UserListBuilder::load in core/
modules/ user/ src/ UserListBuilder.php - Loads entities of this type from storage for listing.
- WorkspaceListBuilder::load in core/
modules/ workspaces/ src/ WorkspaceListBuilder.php - Loads entities of this type from storage for listing.
File
-
core/
lib/ Drupal/ Core/ Entity/ EntityListBuilder.php, line 87
Class
- EntityListBuilder
- Defines a generic implementation to build a listing of entities.
Namespace
Drupal\Core\EntityCode
public function load() {
$entity_ids = $this->getEntityIds();
return $this->storage
->loadMultiple($entity_ids);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.