Same name and namespace in other branches
  1. 7.x-3.x quicktabs.module \theme_qt_accordion() 1 comment

Theme function to output markup for the accordion style.

1 theme call to theme_qt_accordion()
QuickAccordion::render in src/Plugin/QuickRender/QuickAccordion.php

File

./quicktabs.module, line 612

Code

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