function views_ui_config_item_group_form_submit

Same name in other branches
  1. 7.x-3.x includes/admin.inc \views_ui_config_item_group_form_submit()

Submit handler for configing group settings on a view.

File

includes/admin.inc, line 3342

Code

function views_ui_config_item_group_form_submit($form, &$form_state) {
    $item = $form_state['handler']->options;
    $item['group_type'] = $form_state['values']['group_type'];
    // Store the item back on the view
    $form_state['view']->set_item($form_state['display_id'], $form_state['type'], $form_state['id'], $item);
    // Write to cache
    views_ui_cache_set($form_state['view']);
}