public function PagerSelectExtender::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Database/Query/PagerSelectExtender.php \Drupal\Core\Database\Query\PagerSelectExtender::__construct()
Overrides SelectExtender::__construct
File
- core/
lib/ Drupal/ Core/ Database/ Query/ PagerSelectExtender.php, line 52 - Contains \Drupal\Core\Database\Query\PagerSelectExtender.
Class
- PagerSelectExtender
- Query extender for pager queries.
Namespace
Drupal\Core\Database\QueryCode
public function __construct(SelectInterface $query, Connection $connection) {
parent::__construct($query, $connection);
// Add pager tag. Do this here to ensure that it is always added before
// preExecute() is called.
$this
->addTag('pager');
}