You are here

public function None::getItemsPerPage in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/views/src/Plugin/views/pager/None.php \Drupal\views\Plugin\views\pager\None::getItemsPerPage()

Get how many items per page this pager will display.

All but the leanest pagers should probably return a value here, so most pagers will not need to override this method.

Overrides PagerPluginBase::getItemsPerPage

File

core/modules/views/src/Plugin/views/pager/None.php, line 69

Class

None
Plugin for views without pagers.

Namespace

Drupal\views\Plugin\views\pager

Code

public function getItemsPerPage() {
  return 0;
}