function views_ui_add_form_cancel_submit in Views (for Drupal 7) 7.3
Same name and namespace in other branches
- 8.3 views_ui/admin.inc \views_ui_add_form_cancel_submit()
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 770 - Provides the Views' administrative interface.
Code
function views_ui_add_form_cancel_submit($form, &$form_state) {
$form_state['redirect'] = 'admin/structure/views';
}