public function None::summaryTitle

Same name in this branch
  1. 9.x drupal/core/modules/views/lib/Drupal/views/Plugin/views/cache/None.php \Drupal\views\Plugin\views\cache\None::summaryTitle()
  2. 9.x drupal/core/modules/views/lib/Drupal/views/Plugin/views/pager/None.php \Drupal\views\Plugin\views\pager\None::summaryTitle()
  3. 9.x drupal/core/modules/views/lib/Drupal/views/Plugin/views/access/None.php \Drupal\views\Plugin\views\access\None::summaryTitle()

Return a string to display as the clickable title for the pager plugin.

Overrides PagerPluginBase::summaryTitle

File

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

Class

None
Plugin for views without pagers.

Namespace

Drupal\views\Plugin\views\pager

Code

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