Same name in other branches
  1. 7.x-2.x includes/admin.inc \quicktabs_ajax_callback()
  2. 7.x-3.x quicktabs.admin.inc \quicktabs_ajax_callback()

Ajax callback for the add tab and remove tab buttons.

5 string references to 'quicktabs_ajax_callback'
QuicktabAddForm::form in src/Form/QuicktabAddForm.php
QuicktabCloneForm::form in src/Form/QuicktabCloneForm.php
QuicktabEditForm::form in src/Form/QuicktabEditForm.php
_quicktabs_admin_main_form in ./quicktabs.admin.inc
The main section of admin page.
_quicktabs_form in ./quicktabs.admin.inc

File

./quicktabs.admin.inc, line 378

Code

function quicktabs_ajax_callback($form, $form_state) {
    $form_tabs = $form['qt_wrapper']['tabs'];
    return $form_tabs;
}