function multiblock_delete_form_submit in MultiBlock 5
Same name and namespace in other branches
- 6 multiblock.module \multiblock_delete_form_submit()
- 7 multiblock.module \multiblock_delete_form_submit()
File
- ./
multiblock.module, line 175
Code
function multiblock_delete_form_submit($form_id, $form_values) {
if (multiblock_delete($form_values['delta'])) {
drupal_set_message(t('Block successfully deleted!'));
}
else {
drupal_set_message(t('There was a problem deleting the block'));
}
return 'admin/build/block/instances';
}