1 views_plugin_pager.inc views_plugin_pager::set_items_per_page($items)

Set how many items per page this pager will display.

This is mostly used for things that will override the value.

File

core/modules/views/plugins/views_plugin_pager.inc, line 52
Definition of views_plugin_pager.

Class

views_plugin_pager
The base plugin to handle pager.

Code

function set_items_per_page($items) {
  $this->options['items_per_page'] = $items;
}