W3cubDocs

/Drupal 8

protected property EntityListBuilder::$limit

The number of entities to list per page, or FALSE to list all entities.

For example, set this to FALSE if the list uses client-side filters that require all entities to be listed (like the views overview).

Type: int|false

File

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

Class

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

Namespace

Drupal\Core\Entity

Code

protected $limit = 50;

© 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!EntityListBuilder.php/property/EntityListBuilder::limit/8.1.x