function Search::defineOptions
Same name in other branches
- 9 core/modules/search/src/Plugin/views/filter/Search.php \Drupal\search\Plugin\views\filter\Search::defineOptions()
- 10 core/modules/search/src/Plugin/views/filter/Search.php \Drupal\search\Plugin\views\filter\Search::defineOptions()
- 11.x core/modules/search/src/Plugin/views/filter/Search.php \Drupal\search\Plugin\views\filter\Search::defineOptions()
Overrides FilterPluginBase::defineOptions
File
-
core/
modules/ search/ src/ Plugin/ views/ filter/ Search.php, line 62
Class
- Search
- Filter handler for search keywords.
Namespace
Drupal\search\Plugin\views\filterCode
protected function defineOptions() {
$options = parent::defineOptions();
$options['operator']['default'] = 'optional';
return $options;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.