You are here

public function views_plugin_pager_none::options_form in Views (for Drupal 7) 7.3

Same name and namespace in other branches
  1. 6.3 plugins/views_plugin_pager_none.inc \views_plugin_pager_none::options_form()

Provide the default form for setting options.

Overrides views_plugin::options_form

File

plugins/views_plugin_pager_none.inc, line 48
Definition of views_plugin_pager_none.

Class

views_plugin_pager_none
Plugin for views without pagers.

Code

public function options_form(&$form, &$form_state) {
  parent::options_form($form, $form_state);
  $form['offset'] = array(
    '#type' => 'textfield',
    '#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'],
  );
}