public function Full::summaryTitle

Overrides \Drupal\views\Plugin\views\pager\PagerPluginBase::summaryTitle().

Overrides PagerPluginBase::summaryTitle

File

drupal/core/modules/views/lib/Drupal/views/Plugin/views/pager/Full.php, line 73
Definition of Drupal\views\Plugin\views\pager\Full.

Class

Full
The plugin to handle full pager.

Namespace

Drupal\views\Plugin\views\pager

Code

public function summaryTitle() {
  if (!empty($this->options['offset'])) {
    return format_plural($this->options['items_per_page'], '@count item, skip @skip', 'Paged, @count items, skip @skip', array(
      '@count' => $this->options['items_per_page'],
      '@skip' => $this->options['offset'],
    ));
  }
  return format_plural($this->options['items_per_page'], '@count item', 'Paged, @count items', array(
    '@count' => $this->options['items_per_page'],
  ));
}