You are here

public function None::summaryTitle in Zircon Profile 8

Same name in this branch
  1. 8 core/modules/views/src/Plugin/views/access/None.php \Drupal\views\Plugin\views\access\None::summaryTitle()
  2. 8 core/modules/views/src/Plugin/views/cache/None.php \Drupal\views\Plugin\views\cache\None::summaryTitle()
  3. 8 core/modules/views/src/Plugin/views/pager/None.php \Drupal\views\Plugin\views\pager\None::summaryTitle()
Same name and namespace in other branches
  1. 8.0 core/modules/views/src/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

core/modules/views/src/Plugin/views/pager/None.php, line 38
Contains \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 $this
      ->t('All items, skip @skip', array(
      '@skip' => $this->options['offset'],
    ));
  }
  return $this
    ->t('All items');
}