You are here

protected function Autosubmit::defineOptions in Views Autosubmit 8

.

Overrides ExposedFormPluginBase::defineOptions

File

src/Plugin/views/exposed_form/Autosubmit.php, line 24

Class

Autosubmit
Extends the exposed form to provide an autosubmit functionality.

Namespace

Drupal\views_autosubmit\Plugin\views\exposed_form

Code

protected function defineOptions() {
  $options = parent::defineOptions();
  $options['autosubmit_hide'] = [
    'default' => TRUE,
  ];
  return $options;
}