function SqlBase::itemsPerPageExposed

Same name in other branches
  1. 9 core/modules/views/src/Plugin/views/pager/SqlBase.php \Drupal\views\Plugin\views\pager\SqlBase::itemsPerPageExposed()
  2. 10 core/modules/views/src/Plugin/views/pager/SqlBase.php \Drupal\views\Plugin\views\pager\SqlBase::itemsPerPageExposed()
  3. 11.x 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']);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.