function None::summaryTitle

Same name in this branch
  1. 10 core/modules/views/src/Plugin/views/cache/None.php \Drupal\views\Plugin\views\cache\None::summaryTitle()
  2. 10 core/modules/views/src/Plugin/views/access/None.php \Drupal\views\Plugin\views\access\None::summaryTitle()
Same name in other branches
  1. 9 core/modules/views/src/Plugin/views/cache/None.php \Drupal\views\Plugin\views\cache\None::summaryTitle()
  2. 9 core/modules/views/src/Plugin/views/access/None.php \Drupal\views\Plugin\views\access\None::summaryTitle()
  3. 9 core/modules/views/src/Plugin/views/pager/None.php \Drupal\views\Plugin\views\pager\None::summaryTitle()
  4. 8.9.x core/modules/views/src/Plugin/views/cache/None.php \Drupal\views\Plugin\views\cache\None::summaryTitle()
  5. 8.9.x core/modules/views/src/Plugin/views/access/None.php \Drupal\views\Plugin\views\access\None::summaryTitle()
  6. 8.9.x core/modules/views/src/Plugin/views/pager/None.php \Drupal\views\Plugin\views\pager\None::summaryTitle()
  7. 11.x core/modules/views/src/Plugin/views/cache/None.php \Drupal\views\Plugin\views\cache\None::summaryTitle()
  8. 11.x core/modules/views/src/Plugin/views/access/None.php \Drupal\views\Plugin\views\access\None::summaryTitle()
  9. 11.x core/modules/views/src/Plugin/views/pager/None.php \Drupal\views\Plugin\views\pager\None::summaryTitle()

Overrides PagerPluginBase::summaryTitle

File

core/modules/views/src/Plugin/views/pager/None.php, line 34

Class

None
Plugin for views without pagers.

Namespace

Drupal\views\Plugin\views\pager

Code

public function summaryTitle() {
    if (!empty($this->options['offset'])) {
        return $this->t('All items, skip @skip', [
            '@skip' => $this->options['offset'],
        ]);
    }
    return $this->t('All items');
}

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