You are here

function user_badges_help in User Badges 8

Same name and namespace in other branches
  1. 5 user_badges.module \user_badges_help()
  2. 6.2 user_badges.module \user_badges_help()
  3. 6 user_badges.module \user_badges_help()
  4. 7 user_badges.module \user_badges_help()
  5. 7.2 user_badges.module \user_badges_help()
  6. 7.3 user_badges.module \user_badges_help()

Implements hook_help().

File

./user_badges.module, line 14
Contains user_badges.module..

Code

function user_badges_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {

    // Main module help for the user_badges module.
    case 'help.page.user_badges':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('User Badges module.') . '</p>';
      return $output;
    default:
  }
}