function HandlerBase::defaultExposeOptions

Same name in other branches
  1. 9 core/modules/views/src/Plugin/views/HandlerBase.php \Drupal\views\Plugin\views\HandlerBase::defaultExposeOptions()
  2. 10 core/modules/views/src/Plugin/views/HandlerBase.php \Drupal\views\Plugin\views\HandlerBase::defaultExposeOptions()
  3. 11.x core/modules/views/src/Plugin/views/HandlerBase.php \Drupal\views\Plugin\views\HandlerBase::defaultExposeOptions()

Set new exposed option defaults when exposed setting is flipped on.

1 call to HandlerBase::defaultExposeOptions()
HandlerBase::displayExposedForm in core/modules/views/src/Plugin/views/HandlerBase.php
Displays the Expose form.
2 methods override HandlerBase::defaultExposeOptions()
FilterPluginBase::defaultExposeOptions in core/modules/views/src/Plugin/views/filter/FilterPluginBase.php
Provide default options for exposed filters.
SortPluginBase::defaultExposeOptions in core/modules/views/src/Plugin/views/sort/SortPluginBase.php
Provide default options for exposed sorts.

File

core/modules/views/src/Plugin/views/HandlerBase.php, line 396

Class

HandlerBase
Base class for Views handler plugins.

Namespace

Drupal\views\Plugin\views

Code

public function defaultExposeOptions() {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.