By mondrake on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
9.2.x
Introduced in version:
9.2.0
Issue links:
Description:
A new method PagerSelectExtender::getElement() now allows to know the pager id used by a query, so that consuming code can avoid overriding it for other queries.
Also, \Drupal\Core\Pager\PagerManagerInterface::getMaxPagerElementId() allows determining the highest pager id used. Accessing the PagerSelectExtender::$maxElement property for this purpose is now deprecated.
The new method \Drupal\Core\Pager\PagerManagerInterface::reservePagerElementId()has been created, which reserves a pager element ID.
The new method \Drupal\Core\Database\Connection::getPagerManager() has been created, which has no parameters and returns the pager manager service.
Impacts:
Module developers
Themers