You are here

public function None::summaryTitle in Views (for Drupal 7) 8.3

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

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

Overrides PagerPluginBase::summaryTitle

File

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