public function None::summaryTitle in Drupal 9
Same name in this branch
- 9 core/modules/views/src/Plugin/views/access/None.php \Drupal\views\Plugin\views\access\None::summaryTitle()
- 9 core/modules/views/src/Plugin/views/cache/None.php \Drupal\views\Plugin\views\cache\None::summaryTitle()
- 9 core/modules/views/src/Plugin/views/pager/None.php \Drupal\views\Plugin\views\pager\None::summaryTitle()
Same name and namespace in other branches
- 8 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 33
Class
- None
- Plugin for views without pagers.
Namespace
Drupal\views\Plugin\views\pagerCode
public function summaryTitle() {
if (!empty($this->options['offset'])) {
return $this
->t('All items, skip @skip', [
'@skip' => $this->options['offset'],
]);
}
return $this
->t('All items');
}