function Full::summaryTitle

Same name and namespace in other branches
  1. 9 core/modules/views/src/Plugin/views/pager/Full.php \Drupal\views\Plugin\views\pager\Full::summaryTitle()
  2. 8.9.x core/modules/views/src/Plugin/views/pager/Full.php \Drupal\views\Plugin\views\pager\Full::summaryTitle()
  3. 10 core/modules/views/src/Plugin/views/pager/Full.php \Drupal\views\Plugin\views\pager\Full::summaryTitle()

Overrides PagerPluginBase::summaryTitle

File

core/modules/views/src/Plugin/views/pager/Full.php, line 71

Class

Full
The plugin to handle full pager.

Namespace

Drupal\views\Plugin\views\pager

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.