You are here

private function ShowMore::getInitial in Views Show More 8

Get the page initial items count.

1 call to ShowMore::getInitial()
ShowMore::getPagerTotal in src/Plugin/views/pager/ShowMore.php
Render overwrite.

File

src/Plugin/views/pager/ShowMore.php, line 341

Class

ShowMore
The plugin to handle show more pager.

Namespace

Drupal\views_show_more\Plugin\views\pager

Code

private function getInitial() {
  $items_per_page = intval($this
    ->getItemsPerPage());
  return isset($this->options['initial']) ? $this->options['initial'] : $items_per_page;
}