function String::operator_values in Views (for Drupal 7) 8.3
2 calls to String::operator_values()
- String::adminSummary in lib/
Drupal/ views/ Plugin/ views/ filter/ String.php - Display the filter on the administrative summary
- String::value_form in lib/
Drupal/ views/ Plugin/ views/ filter/ String.php - Provide a simple textfield for equality
File
- lib/
Drupal/ views/ Plugin/ views/ filter/ String.php, line 179 - Definition of Drupal\views\Plugin\views\filter\String.
Class
- String
- Basic textfield filter to handle string filtering commands including equality, like, not like, etc.
Namespace
Drupal\views\Plugin\views\filterCode
function operator_values($values = 1) {
$options = array();
foreach ($this
->operators() as $id => $info) {
if (isset($info['values']) && $info['values'] == $values) {
$options[] = $id;
}
}
return $options;
}