1 views_plugin_pager_none.inc | views_plugin_pager_none::options_form(&$form, &$form_state) |
Provide the default form for setting options.
Overrides views_plugin::options_form
File
- core/
modules/ views/ plugins/ views_plugin_pager_none.inc, line 38 - Definition of views_plugin_pager_none.
Class
- views_plugin_pager_none
- Plugin for views without pagers.
Code
function options_form(&$form, &$form_state) {
parent::options_form($form, $form_state);
$form['offset'] = array(
'#type' => 'number',
'#min' => '0',
'#title' => t('Offset'),
'#description' => t('The number of items to skip. For example, if this field is 3, the first 3 items will be skipped and not displayed.'),
'#default_value' => $this->options['offset'],
);
}