Same name in other branches
  1. 8.x-1.x quicktabs.module \theme_qt_accordion()

Theme function to output markup for the accordion style.

1 theme call to theme_qt_accordion()
QuickAccordion::render dans plugins/QuickAccordion.inc
The only method that renderer plugins must implement.

Fichier

./quicktabs.module, line 675

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