You are here

protected function SqlBase::itemsPerPageExposed in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/views/src/Plugin/views/pager/SqlBase.php \Drupal\views\Plugin\views\pager\SqlBase::itemsPerPageExposed()

Overrides PagerPluginBase::itemsPerPageExposed

3 calls to SqlBase::itemsPerPageExposed()
SqlBase::exposedFormAlter in core/modules/views/src/Plugin/views/pager/SqlBase.php
SqlBase::query in core/modules/views/src/Plugin/views/pager/SqlBase.php
Modify the query for paging.
SqlBase::usesExposed in core/modules/views/src/Plugin/views/pager/SqlBase.php

File

core/modules/views/src/Plugin/views/pager/SqlBase.php, line 345

Class

SqlBase
A common base class for sql based pager.

Namespace

Drupal\views\Plugin\views\pager

Code

protected function itemsPerPageExposed() {
  return !empty($this->options['expose']['items_per_page']);
}