You are here

public function KeywordId::getValueOptions in Bibliography & Citation 8

Same name and namespace in other branches
  1. 2.0.x modules/bibcite_entity/src/Plugin/views/filter/KeywordId.php \Drupal\bibcite_entity\Plugin\views\filter\KeywordId::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

array|null The stored values from $this->valueOptions.

Overrides InOperator::getValueOptions

File

modules/bibcite_entity/src/Plugin/views/filter/KeywordId.php, line 127

Class

KeywordId
Filter handler for keywords.

Namespace

Drupal\bibcite_entity\Plugin\views\filter

Code

public function getValueOptions() {
  return $this->valueOptions;
}