function views_ui_edit_view_form_delete
Same name in other branches
- 7.x-3.x includes/admin.inc \views_ui_edit_view_form_delete()
1 string reference to 'views_ui_edit_view_form_delete'
- views_ui_edit_view_form in includes/
admin.inc - The main edit view form, which is really just a save/cancel/delete button.
File
-
includes/
admin.inc, line 998
Code
function views_ui_edit_view_form_delete($form, &$form_state) {
unset($_REQUEST['destination']);
// Redirect to the delete confirm page
$form_state['redirect'] = array(
'admin/build/views/delete/' . $form_state['view']->name,
'cancel=admin/build/views/edit/' . $form_state['view']->name . '&' . drupal_get_destination(),
);
}