public function PagerSelectExtender::getElement in Drupal 9
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 186
Class
- PagerSelectExtender
- Query extender for pager queries.
Namespace
Drupal\Core\Database\QueryCode
public function getElement() : int {
$this
->ensureElement();
return $this->element;
}