You are here

public function TaxonomyIndexProductTidDepth::operatorOptions in Commerce: Product taxonomy filter 8.2

Same name and namespace in other branches
  1. 8 src/Plugin/views/filter/TaxonomyIndexProductTidDepth.php \Drupal\product_taxonomy_filter\Plugin\views\filter\TaxonomyIndexProductTidDepth::operatorOptions()

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

Overrides InOperator::operatorOptions

File

src/Plugin/views/filter/TaxonomyIndexProductTidDepth.php, line 22

Class

TaxonomyIndexProductTidDepth
Filter handler for taxonomy terms with depth.

Namespace

Drupal\product_taxonomy_filter\Plugin\views\filter

Code

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