public PagerSelectExtender::getCountQuery()
Retrieve the count query for this pager.
The count query may be specified manually or, by default, taken from the query we are extending.
\Drupal\Core\Database\Query\SelectInterface A count query object.
public function getCountQuery() { if ($this->customCountQuery) { return $this->customCountQuery; } else { return $this->query->countQuery(); } }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Database!Query!PagerSelectExtender.php/function/PagerSelectExtender::getCountQuery/8.1.x