You are here

function boxes_block_delete_submit in Boxes 7

Same name and namespace in other branches
  1. 6 boxes.module \boxes_block_delete_submit()

@todo Please document this function.

See also

http://drupal.org/node/1354

1 string reference to 'boxes_block_delete_submit'
boxes_form_block_admin_configure_alter in ./boxes.module
Implements hook_form_alter for block_admin_configure().

File

./boxes.module, line 591
Core functionality for boxes module.

Code

function boxes_block_delete_submit($form, &$form_state) {

  // $form_state['redirect'] will not work here since we are using $form['#action'] with destination
  $_GET['destination'] = 'admin/structure/block/manage/boxes/' . $form_state['values']['delta'] . '/delete';
}