You are here

public function ShsChosenTaxonomyIndexTidDepth::operatorOptions in Simple hierarchical select 2.0.x

Same name and namespace in other branches
  1. 8 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 75

Class

ShsChosenTaxonomyIndexTidDepth
Filter handler for taxonomy terms with depth.

Namespace

Drupal\shs_chosen\Plugin\views\filter

Code

public function operatorOptions($which = 'title') {
  return [
    'or' => $this
      ->t('Is one of'),
  ];
}