function views_ui_add_form_cancel_submit

3.x admin.inc views_ui_add_form_cancel_submit($form, &$form_state)

Cancel the add view form.

1 string reference to 'views_ui_add_form_cancel_submit'
views_ui_add_form in includes/admin.inc
Form builder for the "add new view" page.

File

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

Code

function views_ui_add_form_cancel_submit($form, &$form_state) {
  $form_state['redirect'] = 'admin/structure/views';
}