function PagerPluginBase::get_items_per_page in Views (for Drupal 7) 8.3
Get how many items per page this pager will display.
All but the leanest pagers should probably return a value here, so most pagers will not need to override this method.
4 calls to PagerPluginBase::get_items_per_page()
- Full::exposed_form_alter in lib/
Drupal/ views/ Plugin/ views/ pager/ Full.php - Full::get_pager_total in lib/
Drupal/ views/ Plugin/ views/ pager/ Full.php - Full::update_page_info in lib/
Drupal/ views/ Plugin/ views/ pager/ Full.php - Update global paging info.
- PagerPluginBase::has_more_records in lib/
Drupal/ views/ Plugin/ views/ pager/ PagerPluginBase.php - Determine if there are more records available.
1 method overrides PagerPluginBase::get_items_per_page()
- None::get_items_per_page in lib/
Drupal/ views/ Plugin/ views/ pager/ None.php - Get how many items per page this pager will display.
File
- lib/
Drupal/ views/ Plugin/ views/ pager/ PagerPluginBase.php, line 58 - Definition of Drupal\views\Plugin\views\pager\PagerPluginBase.
Class
- PagerPluginBase
- The base plugin to handle pager.
Namespace
Drupal\views\Plugin\views\pagerCode
function get_items_per_page() {
return isset($this->options['items_per_page']) ? $this->options['items_per_page'] : 0;
}