function quicktabs_remove_tab_submit in Quick Tabs 7.3
Submit handler for the "Remove Tab" button.
1 string reference to 'quicktabs_remove_tab_submit'
File
- ./
quicktabs.admin.inc, line 437 - Provides the Quicktabs administrative interface.
Code
function quicktabs_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;
}