public function Name::getValueOptions in Drupal 8
Same name and namespace in other branches
- 9 core/modules/user/src/Plugin/views/filter/Name.php \Drupal\user\Plugin\views\filter\Name::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
- core/
modules/ user/ src/ Plugin/ views/ filter/ Name.php, line 102
Class
- Name
- Filter handler for usernames.
Namespace
Drupal\user\Plugin\views\filterCode
public function getValueOptions() {
return $this->valueOptions;
}