function views_ui_delete1_confirm
Page to delete a Views 1 view.
1 string reference to 'views_ui_delete1_confirm'
File
-
includes/
convert.inc, line 145
Code
function views_ui_delete1_confirm(&$form_state, $vid) {
$form_state['vid'] = $vid;
$form = array();
$cancel = 'admin/build/views/tools/convert';
if (!empty($_REQUEST['cancel'])) {
$cancel = $_REQUEST['cancel'];
}
return confirm_form($form, t('Are you sure you want to delete the view %name?', array(
'%name' => $view->name,
)), $cancel, t('This action cannot be undone.'), t('Delete'), t('Cancel'));
}