function views_ui_edit_details_form_submit

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

Submit handler for views_ui_edit_details_form

File

includes/admin.inc, line 2368

Code

function views_ui_edit_details_form_submit($form, &$form_state) {
    $form_state['view']->{$form_state['property']} = $form_state['values'][$form_state['property']];
    views_ui_cache_set($form_state['view']);
    $form_state['redirect'] = 'admin/build/views/edit/' . $form_state['view']->name;
}