function panels_mini_delete_confirm_submit in Panels 5.2
Same name and namespace in other branches
- 6.2 panels_mini/panels_mini.admin.inc \panels_mini_delete_confirm_submit()
Handle the submit button to delete a mini panel.
File
- panels_mini/
panels_mini.module, line 320 - panels_mini.module
Code
function panels_mini_delete_confirm_submit($form_id, $form) {
if ($form['confirm']) {
panels_mini_delete((object) $form);
return 'admin/panels/panel-mini';
}
}