function date_api_argument_handler::options_submit in Date 6.2
Same name and namespace in other branches
- 6 date_api.views.inc \date_api_argument_handler::options_submit()
File
- includes/
date_api_argument_handler.inc, line 146 - Views argument handler.
Class
- date_api_argument_handler
- Date API argument handler.
Code
function options_submit($form, &$form_state) {
// It is very important to call the parent function here:
parent::options_submit($form, $form_state);
if ($form_state['values']['form_id'] == 'views_ui_config_item_form') {
$form_state['values']['options']['date_fields'] = array_filter($form_state['values']['options']['date_fields']);
}
}