function panels_page_delete_confirm_submit in Panels 5.2
Same name and namespace in other branches
- 6.2 panels_page/panels_page.admin.inc \panels_page_delete_confirm_submit()
Handle the submit button to delete a panel page.
File
- panels_page/
panels_page.admin.inc, line 167 - panels_page.admin.inc
Code
function panels_page_delete_confirm_submit($form_id, $form) {
if ($form['confirm']) {
panels_page_delete((object) $form);
// TODO: Is this necessary or did we feed it the location already?
return 'admin/panels/panel-page';
}
}