You are here

public function EntityListBuilder::getStorage in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Entity/EntityListBuilder.php \Drupal\Core\Entity\EntityListBuilder::getStorage()
  2. 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

5 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.
BlockListBuilder::getEntityIds in core/modules/block/src/BlockListBuilder.php
Loads entity IDs using a pager sorted by the entity id.
EntityListBuilder::getEntityIds in core/lib/Drupal/Core/Entity/EntityListBuilder.php
Loads entity IDs using a pager sorted by the entity id.
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.

File

core/lib/Drupal/Core/Entity/EntityListBuilder.php, line 78

Class

EntityListBuilder
Defines a generic implementation to build a listing of entities.

Namespace

Drupal\Core\Entity

Code

public function getStorage() {
  return $this->storage;
}