You are here

protected function SqlBase::itemsPerPageExposed in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 328
Contains \Drupal\views\Plugin\views\pager\SqlBase.

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