function qt_remove_tab_submit in Quick Tabs 7.2
Same name and namespace in other branches
- 6.3 includes/admin.inc \qt_remove_tab_submit()
- 6 quicktabs.module \qt_remove_tab_submit()
- 6.2 includes/admin.inc \qt_remove_tab_submit()
Submit handler for the "Remove Tab" button.
1 string reference to 'qt_remove_tab_submit'
- _quicktabs_form in includes/
admin.inc
File
- includes/
admin.inc, line 518 - Provides the Quick Tabs' administrative interface.
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;
}