You are here

public function SortPluginBase::submitOptionsForm in Views (for Drupal 7) 8.3

Simple submit handler

Overrides HandlerBase::submitOptionsForm

File

lib/Drupal/views/Plugin/views/sort/SortPluginBase.php, line 152
Definition of Drupal\views\Plugin\views\sort\SortPluginBase.

Class

SortPluginBase
Base sort handler that has no options and performs a simple sort.

Namespace

Drupal\views\Plugin\views\sort

Code

public function submitOptionsForm(&$form, &$form_state) {
  unset($form_state['values']['expose_button']);

  // don't store this.
  $this
    ->sort_submit($form, $form_state);
  if (!empty($this->options['exposed'])) {
    $this
      ->submitExposeForm($form, $form_state);
  }
}