function EntityListBuilder::load

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/Entity/EntityListBuilder.php \Drupal\Core\Entity\EntityListBuilder::load()

File

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

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);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.