public function LoadMore::summaryTitle in Views Load More 8
Same name and namespace in other branches
- 2.x src/Plugin/views/pager/LoadMore.php \Drupal\views_load_more\Plugin\views\pager\LoadMore::summaryTitle()
Overrides \Drupal\views\Plugin\views\pager\Full::summaryTitle().
Overrides Full::summaryTitle
File
- src/
Plugin/ views/ pager/ LoadMore.php, line 41 - Container Drupal\views_load_more\Plugin\views\pager\LoadMore
Class
- LoadMore
- The plugin to handle full pager.
Namespace
Drupal\views_load_more\Plugin\views\pagerCode
public function summaryTitle() {
if (!empty($this->options['offset'])) {
return $this
->formatPlural($this->options['items_per_page'], 'Load more pager, @count item, skip @skip', 'Load more pager, @count items, skip @skip', array(
'@count' => $this->options['items_per_page'],
'@skip' => $this->options['offset'],
));
}
return $this
->formatPlural($this->options['items_per_page'], 'Load more pager, @count item', 'Load more pager, @count items', array(
'@count' => $this->options['items_per_page'],
));
}