public function EntityBundle::defaultExposeOptions in Commerce Core 8.2
Provide default options for exposed filters.
Overrides InOperator::defaultExposeOptions
File
- src/
Plugin/ views/ filter/ EntityBundle.php, line 24
Class
- EntityBundle
- Filters by entity bundle.
Namespace
Drupal\commerce\Plugin\views\filterCode
public function defaultExposeOptions() {
parent::defaultExposeOptions();
$this->options['expose']['hide_single_bundle'] = TRUE;
}