1 call to _quicktabs_build_tablinks()
- quicktabs_render dans ./
quicktabs.module - Render quicktabs.
Fichier
-
./
quicktabs.module, line 526
Code
function _quicktabs_build_tablinks($quicktabs, $active_tab) {
$tablinks = array();
$tabs_count = count($quicktabs->tabs);
if ($tabs_count <= 0) {
return NULL;
}
$index = 1;
foreach ($quicktabs->tabs as $i => $tab) {
$tablink = array(
'#type' => 'link',
'#title' => $tab['title'],
'#href' => $_GET['q'],
'#options' => _quicktabs_construct_link_options($quicktabs, $i),
);
$tablinks[] = $tablink;
$index++;
}
return $tablinks;
}