public function TaxonomyIndexProductTidDepth::operatorOptions in Commerce: Product taxonomy filter 8
Same name and namespace in other branches
- 8.2 src/Plugin/views/filter/TaxonomyIndexProductTidDepth.php \Drupal\product_taxonomy_filter\Plugin\views\filter\TaxonomyIndexProductTidDepth::operatorOptions()
Build strings from the operators() for 'select' options
Overrides InOperator::operatorOptions
File
- src/
Plugin/ views/ filter/ TaxonomyIndexProductTidDepth.php, line 22
Class
- TaxonomyIndexProductTidDepth
- Filter handler for taxonomy terms with depth.
Namespace
Drupal\product_taxonomy_filter\Plugin\views\filterCode
public function operatorOptions($which = 'title') {
return [
'or' => $this
->t('Is one of'),
];
}