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

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