You are here

function userpoints_help in User Points 5.2

Same name and namespace in other branches
  1. 5.3 userpoints.module \userpoints_help()
  2. 5 userpoints.module \userpoints_help()
  3. 6 userpoints.module \userpoints_help()
  4. 7.2 userpoints.module \userpoints_help()
  5. 7 userpoints.module \userpoints_help()

Implementation of hook_help().

File

./userpoints.module, line 51

Code

function userpoints_help($section) {
  switch ($section) {
    case 'admin/settings/userpoints':
      $output = t('Configure userpoints moderation and branding translation', userpoints_translation());
      break;
    case 'admin/help#userpoints':
      $output = t('Users earn !points as they post nodes, comments, and vote on nodes', userpoints_translation());
  }
  return $output;
}