You are here

function quicktabs_theme in Quick Tabs 8.3

Same name and namespace in other branches
  1. 6.3 quicktabs.module \quicktabs_theme()
  2. 6 quicktabs.module \quicktabs_theme()
  3. 6.2 quicktabs.module \quicktabs_theme()
  4. 7.3 quicktabs.module \quicktabs_theme()
  5. 7.2 quicktabs.module \quicktabs_theme()

Implements hook_theme().

File

./quicktabs.module, line 28
Render content with tabs and other display styles.

Code

function quicktabs_theme($existing, $type, $theme, $path) {
  return [
    'quicktabs_block_content' => [
      'variables' => [
        'title' => NULL,
        'block' => NULL,
        'classes' => NULL,
        'id' => NULL,
        'tabid' => NULL,
      ],
      'template' => 'quicktabs-block-content',
    ],
    'quicktabs_view_quicktabs' => [
      'file' => 'quicktabs.theme.inc',
    ],
  ];
}