You are here

function views_ui_edit_details_form_submit in Views (for Drupal 7) 6.2

Same name and namespace in other branches
  1. 8.3 views_ui/admin.inc \views_ui_edit_details_form_submit()
  2. 6.3 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 1997
admin.inc Provides the Views' administrative interface.

Code

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