function PagerPluginBase::has_more_records in Views (for Drupal 7) 8.3
Determine if there are more records available.
This is primarily used to control the display of a more link.
File
- lib/
Drupal/ views/ Plugin/ views/ pager/ PagerPluginBase.php, line 224 - Definition of Drupal\views\Plugin\views\pager\PagerPluginBase.
Class
- PagerPluginBase
- The base plugin to handle pager.
Namespace
Drupal\views\Plugin\views\pagerCode
function has_more_records() {
return $this
->get_items_per_page() && $this->total_items > (intval($this->current_page) + 1) * $this
->get_items_per_page();
}