You are here

function views_ui_edit_details_form_submit in Views (for Drupal 7) 6.3

Same name and namespace in other branches
  1. 8.3 views_ui/admin.inc \views_ui_edit_details_form_submit()
  2. 6.2 includes/admin.inc \views_ui_edit_details_form_submit()
  3. 7.3 includes/admin.inc \views_ui_edit_details_form_submit()

Submit handler for views_ui_edit_details_form

File

includes/admin.inc, line 2368
admin.inc Provides the Views' administrative interface.

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;
}