Same name and namespace in other branches
  1. 7.x-2.x quicktabs.module \quicktabs_get_css() 1 comment
  2. 8.x-1.x quicktabs.module \quicktabs_get_css() 1 comment

Fetch the necessary CSS files for the tab style.

1 call to quicktabs_get_css()
QuickQuicktabs::add_attached in plugins/QuickQuicktabs.inc
Add any necessary js, css and libraries for the render array.

File

./quicktabs.module, line 554

Code

function quicktabs_get_css($style) {
    if ($style == 'default') {
        // Get the default style.
        $style = variable_get('quicktabs_tabstyle', 'nostyle');
    }
    if ($style == 'nostyle') {
        return array();
    }
    $style_css = _quicktabs_get_style_css($style);
    return $style_css;
}