function PagerPluginBase::set_items_per_page in Views (for Drupal 7) 8.3
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::set_items_per_page()
- None::init in lib/
Drupal/ views/ Plugin/ views/ pager/ None.php - Initialize the plugin.
File
- lib/
Drupal/ views/ Plugin/ views/ pager/ PagerPluginBase.php, line 67 - Definition of Drupal\views\Plugin\views\pager\PagerPluginBase.
Class
- PagerPluginBase
- The base plugin to handle pager.
Namespace
Drupal\views\Plugin\views\pagerCode
function set_items_per_page($items) {
$this->options['items_per_page'] = $items;
}