You are here

protected function SqlBase::itemsPerPageExposed in Drupal 8

Same name and namespace in other branches
  1. 9 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 353

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']);
}