function date_views_filter_handler::extra_options_submit in Date 7
Same name and namespace in other branches
- 8 date_views/includes/date_views_filter_handler.inc \date_views_filter_handler::extra_options_submit()
- 7.3 date_views/includes/date_views_filter_handler.inc \date_views_filter_handler::extra_options_submit()
- 7.2 date_views/includes/date_views_filter_handler.inc \date_views_filter_handler::extra_options_submit()
Perform any necessary changes to the form values prior to storage. There is no need for this function to actually store the data.
Overrides views_handler::extra_options_submit
File
- date_views/
includes/ date_views_filter_handler.inc, line 164 - A flexible, configurable date filter.
Class
- date_views_filter_handler
- This filter allows you to select a granularity of date parts to filter on, such as year, month, day, etc.
Code
function extra_options_submit($form, &$form_state) {
$form_state['values']['options']['date_fields'] = array_filter($form_state['values']['options']['date_fields']);
}