You are here

public function TaxonomyIndexTid::getValueOptions in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/taxonomy/src/Plugin/views/filter/TaxonomyIndexTid.php \Drupal\taxonomy\Plugin\views\filter\TaxonomyIndexTid::getValueOptions()

Child classes should be used to override this function and set the 'value options', unless 'options callback' is defined as a valid function or static public method to generate these values.

This can use a guard to be used to reduce database hits as much as possible.

Return value

Return the stored values in $this->valueOptions if someone expects it.

Overrides InOperator::getValueOptions

File

core/modules/taxonomy/src/Plugin/views/filter/TaxonomyIndexTid.php, line 92
Contains \Drupal\taxonomy\Plugin\views\filter\TaxonomyIndexTid.

Class

TaxonomyIndexTid
Filter by term id.

Namespace

Drupal\taxonomy\Plugin\views\filter

Code

public function getValueOptions() {

  /* don't overwrite the value options */
}