You are here

function panels_page_delete_confirm_submit in Panels 6.2

Same name and namespace in other branches
  1. 5.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 180
panels_page.admin.inc

Code

function panels_page_delete_confirm_submit($form, &$form_state) {
  if ($form_state['values']['confirm']) {
    panels_page_delete($form_state['panel_page']);
    $form_state['redirect'] = 'admin/panels/panel-page';
  }
}