Same name in other branches
  1. 8.x-1.x quicktabs.admin.inc \quicktabs_remove_tab_submit()

Submit handler for the "Remove Tab" button.

1 string reference to 'quicktabs_remove_tab_submit'
_quicktabs_form in ./quicktabs.admin.inc

File

./quicktabs.admin.inc, line 437

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;
}