loadInclude('quicktabs', 'inc', 'quicktabs.theme'); /** * Implements hook_help(). */ function quicktabs_help($route_name, RouteMatchInterface $route_match) { switch ($route_name) { case 'quicktabs.admin': return '
' . t('Each QuickTabs instance has a corresponding block that is managed on the blocks administration page.', [':link' => Url::fromRoute('block.admin_display')->setAbsolute()->toString()]) . '
'; } } /** * Implements hook_theme(). */ 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', ], ]; }