You are here

function bootstrap_quicktabs_quicktabs_renderers in Bootstrap Quick Tabs 7

Implements hook_quicktabs_renderers().

File

./bootstrap_quicktabs.module, line 14
Provides Bootstrap's tab styles to the Quicktabs module. Adapted from the re_quicktabs_foundation module.

Code

function bootstrap_quicktabs_quicktabs_renderers() {
  $info = array();
  $path = drupal_get_path('module', 'bootstrap_quicktabs');
  $info['bootstrap_tabs'] = array(
    'path' => $path,
    'handler' => array(
      'file' => 'BootstrapQuickTabs.inc',
      'class' => 'BootstrapQuickTabs',
    ),
  );
  $info['bootstrap_accordion'] = array(
    'path' => $path,
    'handler' => array(
      'file' => 'BootstrapAccordion.inc',
      'class' => 'BootstrapAccordion',
    ),
  );
  return $info;
}