PagerSelectExtender::$limit

Same name in other branches
  1. 9 core/lib/Drupal/Core/Database/Query/PagerSelectExtender.php \Drupal\Core\Database\Query\PagerSelectExtender::limit
  2. 10 core/lib/Drupal/Core/Database/Query/PagerSelectExtender.php \Drupal\Core\Database\Query\PagerSelectExtender::limit
  3. 11.x core/lib/Drupal/Core/Database/Query/PagerSelectExtender.php \Drupal\Core\Database\Query\PagerSelectExtender::limit

The number of elements per page to allow.

Type: int

File

core/lib/Drupal/Core/Database/Query/PagerSelectExtender.php, line 31

Class

PagerSelectExtender
Query extender for pager queries.

Namespace

Drupal\Core\Database\Query

Code

protected $limit = 10;

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