public function Range::operatorOptions in Range 8
Provide a list of options for the default operator form. Should be overridden by classes that don't override operatorForm
Overrides FilterPluginBase::operatorOptions
1 call to Range::operatorOptions()
- Range::adminSummary in src/
Plugin/ views/ filter/ Range.php - Display the filter on the administrative summary
File
- src/
Plugin/ views/ filter/ Range.php, line 46
Class
- Range
- Range views filter.
Namespace
Drupal\range\Plugin\views\filterCode
public function operatorOptions($which = 'title') {
$options = [];
foreach ($this
->operators() as $id => $value) {
$options[$id] = $value[$which];
}
return $options;
}