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

Implements hook_help().

File

./quicktabs.module, line 17

Code

function quicktabs_help($route_name, RouteMatchInterface $route_match) {
    switch ($route_name) {
        case 'quicktabs.admin':
            return '<p>' . t('Each QuickTabs instance has a corresponding block that is managed on the <a href=":link">blocks administration page</a>.', [
                ':link' => Url::fromRoute('block.admin_display')->setAbsolute()
                    ->toString(),
            ]) . '</p>';
    }
}