EntityListBuilder::$limit

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Entity/EntityListBuilder.php \Drupal\Core\Entity\EntityListBuilder::limit
  2. 10 core/lib/Drupal/Core/Entity/EntityListBuilder.php \Drupal\Core\Entity\EntityListBuilder::limit
  3. 11.x core/lib/Drupal/Core/Entity/EntityListBuilder.php \Drupal\Core\Entity\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 49

Class

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

Namespace

Drupal\Core\Entity

Code

protected $limit = 50;

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