W3cubDocs

/Drupal 8

public function EntityListBuilderInterface::load

public EntityListBuilderInterface::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.

File

core/lib/Drupal/Core/Entity/EntityListBuilderInterface.php, line 27

Class

EntityListBuilderInterface
Defines an interface to build entity listings.

Namespace

Drupal\Core\Entity

Code

public function load();

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!EntityListBuilderInterface.php/function/EntityListBuilderInterface::load/8.1.x