function quicktabs_block_delete in Quick Tabs 6
Same name and namespace in other branches
- 5 quicktabs.module \quicktabs_block_delete()
- 6.3 includes/admin.inc \quicktabs_block_delete()
- 6.2 includes/admin.inc \quicktabs_block_delete()
- 7.3 quicktabs.admin.inc \quicktabs_block_delete()
- 7.2 includes/admin.inc \quicktabs_block_delete()
1 string reference to 'quicktabs_block_delete'
- quicktabs_menu in ./
quicktabs.module - Implementation of hook_menu().
File
- ./
quicktabs.module, line 609
Code
function quicktabs_block_delete(&$form_state, $qtid = 0) {
$qt_name = quicktabs_block_get_name($qtid);
$form['qtid'] = array(
'#type' => 'hidden',
'#value' => $qtid,
);
$form['qt_name'] = array(
'#type' => 'hidden',
'#value' => $qt_name,
);
return confirm_form($form, t('Are you sure you want to delete the Quick Tabs block %name?', array(
'%name' => $qt_name,
)), 'admin/build/quicktabs', '', t('Delete'), t('Cancel'));
}