public EntityListBuilder::load()
Loads entities of this type from storage for listing.
This allows the implementation to manipulate the listing, like filtering or sorting the loaded entities.
Return value
\Drupal\Core\Entity\EntityInterface[] An array of entities implementing \Drupal\Core\Entity\EntityInterface.
Overrides EntityListBuilderInterface::load
File
- core/lib/Drupal/Core/Entity/EntityListBuilder.php, line 79
Class
- EntityListBuilder
- Defines a generic implementation to build a listing of entities.
Namespace
Drupal\Core\Entity
Code
public function load() { $entity_ids = $this->getEntityIds(); return $this->storage->loadMultiple($entity_ids); }
Please login to continue.