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