function views_plugin_pager_some::option_definition

Same name in other branches
  1. 7.x-3.x plugins/views_plugin_pager_some.inc \views_plugin_pager_some::option_definition()

Overrides views_object::option_definition

File

plugins/views_plugin_pager_some.inc, line 16

Class

views_plugin_pager_some
Plugin for views without pagers.

Code

function option_definition() {
    $options = parent::option_definition();
    $options['items_per_page'] = array(
        'default' => 10,
    );
    $options['offset'] = array(
        'default' => 0,
    );
    return $options;
}