public function Full::summaryTitle in Views (for Drupal 7) 8.3
Return a string to display as the clickable title for the pager plugin.
Overrides PagerPluginBase::summaryTitle
1 method overrides Full::summaryTitle()
- Mini::summaryTitle in lib/
Drupal/ views/ Plugin/ views/ pager/ Mini.php - Return a string to display as the clickable title for the pager plugin.
File
- lib/
Drupal/ views/ Plugin/ views/ pager/ Full.php, line 27 - Definition of Drupal\views\Plugin\views\pager\Full.
Class
- Full
- The plugin to handle full pager.
Namespace
Drupal\views\Plugin\views\pagerCode
public function summaryTitle() {
if (!empty($this->options['offset'])) {
return format_plural($this->options['items_per_page'], '@count item, skip @skip', 'Paged, @count items, skip @skip', array(
'@count' => $this->options['items_per_page'],
'@skip' => $this->options['offset'],
));
}
return format_plural($this->options['items_per_page'], '@count item', 'Paged, @count items', array(
'@count' => $this->options['items_per_page'],
));
}