function Some::summaryTitle
Same name in other branches
- 8.9.x core/modules/views/src/Plugin/views/pager/Some.php \Drupal\views\Plugin\views\pager\Some::summaryTitle()
- 10 core/modules/views/src/Plugin/views/pager/Some.php \Drupal\views\Plugin\views\pager\Some::summaryTitle()
- 11.x core/modules/views/src/Plugin/views/pager/Some.php \Drupal\views\Plugin\views\pager\Some::summaryTitle()
Overrides PagerPluginBase::summaryTitle
File
-
core/
modules/ views/ src/ Plugin/ views/ pager/ Some.php, line 21
Class
- Some
- Plugin for views without pagers.
Namespace
Drupal\views\Plugin\views\pagerCode
public function summaryTitle() {
if (!empty($this->options['offset'])) {
return $this->formatPlural($this->options['items_per_page'], '@count item, skip @skip', '@count items, skip @skip', [
'@count' => $this->options['items_per_page'],
'@skip' => $this->options['offset'],
]);
}
return $this->formatPlural($this->options['items_per_page'], '@count item', '@count items', [
'@count' => $this->options['items_per_page'],
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.