public function date_views_filter_handler_simple::widget_options in Date 7.3
Same name and namespace in other branches
- 8 date_views/includes/date_views_filter_handler_simple.inc \date_views_filter_handler_simple::widget_options()
- 7.2 date_views/includes/date_views_filter_handler_simple.inc \date_views_filter_handler_simple::widget_options()
3 calls to date_views_filter_handler_simple::widget_options()
- date_views_filter_handler::admin_summary in date_views/
includes/ date_views_filter_handler.inc - Display the filter on the administrative summary.
- date_views_filter_handler_simple::admin_summary in date_views/
includes/ date_views_filter_handler_simple.inc - Display the filter on the administrative summary.
- date_views_filter_handler_simple::extra_options_form in date_views/
includes/ date_views_filter_handler_simple.inc - Provide a form for setting options.
File
- date_views/
includes/ date_views_filter_handler_simple.inc, line 261 - A standard Views filter for a single date field.
Class
- date_views_filter_handler_simple
- A standard Views filter for a single date field.
Code
public function widget_options() {
$options = array(
'date_select' => t('Select'),
'date_text' => t('Text'),
'date_popup' => t('Popup'),
);
if (!module_exists('date_popup')) {
unset($options['date_popup']);
}
return $options;
}