You are here

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

Provide the default form for setting options.

Overrides views_plugin_pager_full::options_form

File

plugins/views_plugin_pager_mini.inc, line 44
Definition of views_plugin_pager_mini.

Class

views_plugin_pager_mini
The plugin to handle mini pager.

Code

public function options_form(&$form, &$form_state) {
  parent::options_form($form, $form_state);

  // Overrides the full pager options form by deleting unused settings.
  unset($form['quantity']);
  unset($form['tags']['first']);
  unset($form['tags']['last']);
}