public function Mini::summaryTitle in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/views/src/Plugin/views/pager/Mini.php \Drupal\views\Plugin\views\pager\Mini::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/ Mini.php, line 42 - Contains \Drupal\views\Plugin\views\pager\Mini.
Class
- Mini
- The plugin to handle mini pager.
Namespace
Drupal\views\Plugin\views\pagerCode
public function summaryTitle() {
if (!empty($this->options['offset'])) {
return $this
->formatPlural($this->options['items_per_page'], 'Mini pager, @count item, skip @skip', 'Mini pager, @count items, skip @skip', array(
'@count' => $this->options['items_per_page'],
'@skip' => $this->options['offset'],
));
}
return $this
->formatPlural($this->options['items_per_page'], 'Mini pager, @count item', 'Mini pager, @count items', array(
'@count' => $this->options['items_per_page'],
));
}