1 date_views_filter_handler.inc date_views_filter_handler::extra_options_submit($form, &$form_state)

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

core/modules/date/views/date_views_filter_handler.inc, line 119
A flexible, configurable date filter. This filter combines multiple date filters into a single filter where all fields are controlled by the same date and can be combined with either AND or OR.

Class

date_views_filter_handler
@file A flexible, configurable date filter. This filter combines multiple date filters into a single filter where all fields are controlled by the same date and can be combined with either AND or OR.

Code

function extra_options_submit($form, &$form_state) {
  $form_state['values']['options']['date_fields'] = array_filter($form_state['values']['options']['date_fields']);
}