Submit handler for the "Remove Tab" button.
1 string reference to 'qt_remove_tab_submit'
- _quicktabs_form dans includes/
admin.inc
Fichier
-
includes/
admin.inc, line 518
Code
function qt_remove_tab_submit($form, &$form_state) {
// Get the tab delta for the clicked button.
$delta = $form_state['clicked_button']['#parents'][1];
$form_state['to_remove'] = $delta;
$form_state['rebuild'] = TRUE;
}