1 views_ui.admin.inc | views_ui_standard_cancel($form, &$form_state) |
Submit handler for cancel button
File
- core/
modules/ views_ui/ views_ui.admin.inc, line 2596 - Admin page callbacks for the Views UI module.
Code
function views_ui_standard_cancel($form, &$form_state) {
if (!empty($form_state['view']->changed) && isset($form_state['view']->form_cache)) {
unset($form_state['view']->form_cache);
views_ui_cache_set($form_state['view']);
}
$form_state['redirect'] = 'admin/structure/views/view/' . $form_state['view']->name . '/configure';
}