Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Entity/EntityListBuilder.php \Drupal\Core\Entity\EntityListBuilder::limit
  2. 9 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 51

Class

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

Namespace

Drupal\Core\Entity

Code

protected $limit = 50;