function PagerPluginBase::has_more_records

Determine if there are more records available.

This is primarily used to control the display of a more link.

File

drupal/core/modules/views/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\pager

Code

function has_more_records() {
  return $this
    ->get_items_per_page() && $this->total_items > (intval($this->current_page) + 1) * $this
    ->get_items_per_page();
}