Same name and namespace in other branches
- 8.9.x core/lib/Drupal/Core/Entity/EntityListBuilder.php \Drupal\Core\Entity\EntityListBuilder::getStorage()
- 9 core/lib/Drupal/Core/Entity/EntityListBuilder.php \Drupal\Core\Entity\EntityListBuilder::getStorage()
Gets the entity storage.
Return value
\Drupal\Core\Entity\EntityStorageInterface The storage used by this list builder.
Overrides EntityListBuilderInterface::getStorage
4 calls to EntityListBuilder::getStorage()
- BlockContentListBuilder::getEntityIds in core/
modules/ block_content/ src/ BlockContentListBuilder.php - Loads entity IDs using a pager sorted by the entity id.
- EntityListBuilder::getEntityListQuery in core/
lib/ Drupal/ Core/ Entity/ EntityListBuilder.php - Returns a query object for loading entity IDs from the storage.
- MediaListBuilder::getEntityIds in core/
modules/ media/ src/ MediaListBuilder.php - Loads entity IDs using a pager sorted by the entity id.
- PathAliasListBuilder::getEntityIds in core/
modules/ path/ src/ PathAliasListBuilder.php - Loads entity IDs using a pager sorted by the entity id.
1 method overrides EntityListBuilder::getStorage()
- ConfigEntityListBuilder::getStorage in core/
lib/ Drupal/ Core/ Config/ Entity/ ConfigEntityListBuilder.php - Gets the config entity storage.
File
- core/
lib/ Drupal/ Core/ Entity/ EntityListBuilder.php, line 80
Class
- EntityListBuilder
- Defines a generic implementation to build a listing of entities.
Namespace
Drupal\Core\EntityCode
public function getStorage() {
return $this->storage;
}