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