You are here

function panels_mini_delete_confirm_submit in Panels 6.2

Same name and namespace in other branches
  1. 5.2 panels_mini/panels_mini.module \panels_mini_delete_confirm_submit()

Handle the submit button to delete a mini panel.

File

panels_mini/panels_mini.admin.inc, line 250
Administrative items for the panels mini module.

Code

function panels_mini_delete_confirm_submit($form, &$form_state) {
  panels_mini_delete((object) $form_state['values']);
  $form_state['redirect'] = 'admin/panels/panel-mini';
}