Same name in other branches
- 7.x-3.x quicktabs.admin.inc \quicktabs_block_delete()
- 8.x-1.x quicktabs.admin.inc \quicktabs_block_delete()
Deletion of quicktab block.
1 string reference to 'quicktabs_block_delete'
- quicktabs_menu dans ./
quicktabs.module - Implements hook_menu().
Fichier
-
includes/
admin.inc, line 583
Code
function quicktabs_block_delete($form, $form_state, $quicktab) {
$form['machine_name'] = array(
'#type' => 'hidden',
'#value' => $quicktab->machine_name,
);
$form['title'] = array(
'#type' => 'hidden',
'#value' => $quicktab->title,
);
return confirm_form($form, t('Are you sure you want to delete the quicktab block %title?', array(
'%title' => $quicktab->title,
)), 'admin/structure/quicktabs', '', t('Delete'), t('Cancel'));
}