function calendar_view_plugin_style::options_submit in Calendar 7
Same name and namespace in other branches
- 7.2 includes/calendar_view_plugin_style.inc \calendar_view_plugin_style::options_submit()
Handle any special handling on the validate form.
Overrides views_plugin::options_submit
File
- includes/
calendar_view_plugin_style.inc, line 173 - Views calendar style plugin for the Calendar module.
Class
- calendar_view_plugin_style
- Style plugin to render the year, month, week, or day calendar view.
Code
function options_submit(&$form, &$form_state) {
$form_state['values']['style_options']['truncated_fields'] = array_filter($form_state['values']['style_options']['truncated_fields']);
}