Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Full.php

function 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'],
    ]);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal