You are here

public function ShsTaxonomyIndexTidDepth::operatorOptions in Simple hierarchical select 8

Same name and namespace in other branches
  1. 2.0.x src/Plugin/views/filter/ShsTaxonomyIndexTidDepth.php \Drupal\shs\Plugin\views\filter\ShsTaxonomyIndexTidDepth::operatorOptions()

Build strings from the operators() for 'select' options

Overrides InOperator::operatorOptions

File

src/Plugin/views/filter/ShsTaxonomyIndexTidDepth.php, line 66

Class

ShsTaxonomyIndexTidDepth
Filter handler for taxonomy terms with depth.

Namespace

Drupal\shs\Plugin\views\filter

Code

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