You are here

public static property PagerSelectExtender::$maxElement in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Database/Query/PagerSelectExtender.php \Drupal\Core\Database\Query\PagerSelectExtender::maxElement

The highest element we've autogenerated so far.

Type: int

Deprecated

in drupal:9.2.0 and is removed from drupal:10.0.0. Use \Drupal::service('pager.manager')->getMaxPagerElementId() instead.

See also

https://www.drupal.org/node/3194594

File

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

Class

PagerSelectExtender
Query extender for pager queries.

Namespace

Drupal\Core\Database\Query

Code

public static $maxElement = 0;