You are here

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

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

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'),
  ];
}