Same name in other branches
  1. 7.x-3.x quicktabs.module \theme_qt_ui_tabs()

Theme function to output content for jQuery UI style tabs.

1 theme call to theme_qt_ui_tabs()
QuickUiTabs::render in src/Plugin/QuickRender/QuickUiTabs.php

File

./quicktabs.module, line 546

Code

function theme_qt_ui_tabs($variables) {
    $element = $variables['element'];
    $output = '<div ' . drupal_attributes($element['#options']['attributes']) . '>';
    $output .= drupal_render($element['tabs']);
    if (isset($element['active'])) {
        $output .= drupal_render($element['active']);
    }
    else {
        foreach ($element['divs'] as $div) {
            $output .= drupal_render($div);
        }
    }
    $output .= '</div>';
    return $output;
}