You are here

function views_ui_add_form_cancel_submit in Views (for Drupal 7) 8.3

Same name and namespace in other branches
  1. 7.3 includes/admin.inc \views_ui_add_form_cancel_submit()

Cancel the add view form.

1 string reference to 'views_ui_add_form_cancel_submit'
ViewUI::buildAddForm in views_ui/lib/Drupal/views_ui/ViewUI.php

File

views_ui/admin.inc, line 378
Provides the Views' administrative interface.

Code

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