function PagerSelectExtender::getElement
Same name in other branches
- 9 core/lib/Drupal/Core/Database/Query/PagerSelectExtender.php \Drupal\Core\Database\Query\PagerSelectExtender::getElement()
- 11.x core/lib/Drupal/Core/Database/Query/PagerSelectExtender.php \Drupal\Core\Database\Query\PagerSelectExtender::getElement()
Gets the element ID for this pager query.
The element is used to differentiate different pager queries on the same page so that they may be operated independently.
Return value
int Element ID that is used to differentiate between different pager queries.
File
-
core/
lib/ Drupal/ Core/ Database/ Query/ PagerSelectExtender.php, line 174
Class
- PagerSelectExtender
- Query extender for pager queries.
Namespace
Drupal\Core\Database\QueryCode
public function getElement() : int {
$this->ensureElement();
return $this->element;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.