You are here

protected property EntityListBuilder::$limit in Drupal 9

Same name and namespace in other branches
  1. 8 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

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;