Same name in other branches
- 7.x-2.x includes/admin.inc \quicktabs_block_delete_submit()
- 7.x-3.x quicktabs.admin.inc \quicktabs_block_delete_submit()
Submit handler for quicktab block deletion.
Fichier
-
./
quicktabs.admin.inc, line 431
Code
function quicktabs_block_delete_submit($form, &$form_state) {
quicktabs_delete($form_state['values']['machine_name']);
drupal_set_message(t('The Quicktabs instance %name has been removed.', array(
'%name' => $form_state['values']['title'],
)));
cache_clear_all();
$form_state['redirect'] = 'admin/structure/quicktabs';
}