function PagerPluginBase::setItemsPerPage
Set how many items per page this pager will display.
This is mostly used for things that will override the value.
1 call to PagerPluginBase::setItemsPerPage()
- None::init in core/
modules/ views/ src/ Plugin/ views/ pager/ None.php  - Initialize the plugin.
 
File
- 
              core/
modules/ views/ src/ Plugin/ views/ pager/ PagerPluginBase.php, line 68  
Class
- PagerPluginBase
 - Base class for views pager plugins.
 
Namespace
Drupal\views\Plugin\views\pagerCode
public function setItemsPerPage($items) {
  $this->options['items_per_page'] = $items;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.