You are here

function boxes_delete_form_submit in Boxes 6

Same name and namespace in other branches
  1. 7 boxes.admin.inc \boxes_delete_form_submit()

Submit handler for boxes_delete_form

File

./boxes.admin.inc, line 62

Code

function boxes_delete_form_submit($form, &$form_state) {
  boxes_load($form_state['values']['delta'])
    ->delete();
  $form_state['redirect'] = 'admin/build/block';
}