public function NumericFilter::defaultExposeOptions in Drupal 9
Same name and namespace in other branches
- 8 core/modules/views/src/Plugin/views/filter/NumericFilter.php \Drupal\views\Plugin\views\filter\NumericFilter::defaultExposeOptions()
Provide default options for exposed filters.
Overrides FilterPluginBase::defaultExposeOptions
File
- core/
modules/ views/ src/ Plugin/ views/ filter/ NumericFilter.php, line 39
Class
- NumericFilter
- Simple filter to handle greater than/less than filters.
Namespace
Drupal\views\Plugin\views\filterCode
public function defaultExposeOptions() {
parent::defaultExposeOptions();
$this->options['expose']['min_placeholder'] = NULL;
$this->options['expose']['max_placeholder'] = NULL;
$this->options['expose']['placeholder'] = NULL;
}