function browscap_help in Browscap 8.3
Same name and namespace in other branches
- 8 browscap.module \browscap_help()
- 6.2 browscap.module \browscap_help()
- 6 browscap.module \browscap_help()
- 7.2 browscap.module \browscap_help()
- 7 browscap.module \browscap_help()
Implements hook_help().
File
- ./
browscap.module, line 15 - Replacement for PHP's get_browser() function.
Code
function browscap_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
case 'browscap.admin':
return '<p>' . t('Settings for user agent detection and the log that Browscap will keep about user agents that visit the site. See @admin_link for the actual information.)', [
'@admin_link' => Drupal::l('user agent statistics', Url::fromRoute('browscap.admin')),
]) . '</p>';
}
}