You are here

function theme_qt_accordion in Quick Tabs 7.3

Theme function to output markup for the accordion style.

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

File

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