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