function boxes_block_cancel_submit in Boxes 7
Submit handler for box cancel from the block/manage/boxes/[MACHINE-NAME]/configure
2 string references to 'boxes_block_cancel_submit'
- boxes_form_alter in ./
boxes.module - Implements hook_form_alter().
- boxes_form_block_admin_configure_alter in ./
boxes.module - Implements hook_form_alter for block_admin_configure().
File
- ./
boxes.module, line 577 - Core functionality for boxes module.
Code
function boxes_block_cancel_submit($form, &$form_state) {
if (module_exists('overlay')) {
overlay_close_dialog();
}
else {
drupal_goto('/admin/structure/block');
}
}