Same name in other branches
  1. 7.x-2.x quicktabs.module \quicktabs_theme()
  2. 7.x-3.x quicktabs.module \quicktabs_theme()
  3. 8.x-1.x quicktabs.module \quicktabs_theme()
  4. 8.x-3.x quicktabs.module \quicktabs_theme()

Implements hook_theme().

Fichier

./quicktabs.module, line 28

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',
        ],
    ];
}