function dynamic_banner_admin_delete_confirm_submit in Dynamic Banner 6
Same name and namespace in other branches
- 7.2 dynamic_banner.module \dynamic_banner_admin_delete_confirm_submit()
- 7 includes/callbacks.inc \dynamic_banner_admin_delete_confirm_submit()
- 8.x dynamic_banner.module \dynamic_banner_admin_delete_confirm_submit()
Execute banners deletion
File
- includes/
callbacks.inc, line 281 - Dynamic Banner Admin Pages and various other functions to make them work Most of the code in this file was derived from path module
Code
function dynamic_banner_admin_delete_confirm_submit($form, &$form_state) {
if ($form_state['values']['confirm']) {
dynamic_banner_admin_delete($form_state['values']['dbid']);
$form_state['redirect'] = 'admin/build/banners';
return;
}
}