function views_handler_filter_field_partial_date_year::operator_options in Partial Date 7
Provide a list of all the numeric operators
Overrides views_handler_filter_numeric::operator_options
1 call to views_handler_filter_field_partial_date_year::operator_options()
- views_handler_filter_field_partial_date_year::admin_summary in includes/
partial_date.views.year_period_handler.inc - Display the filter on the administrative summary.
File
- includes/
partial_date.views.year_period_handler.inc, line 103
Class
- views_handler_filter_field_partial_date_year
- TODO: This is a placeholder to eventually provide a exposed list filter based on the field approximate year values.
Code
function operator_options($which = 'title') {
$options = array();
foreach ($this
->operators() as $id => $info) {
$options[$id] = $info[$which];
}
return $options;
}