You are here

function regcode_help in Registration codes 6.2

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

Implementation of hook_help().

File

./regcode.module, line 25

Code

function regcode_help($path, $arg) {
  $output = '';

  //declare your output variable
  switch ($path) {
    case 'admin/help#regcode':
      $output = '<p>' . t('Prevents users from registering without an invitation code.') . '</p>';
      break;
    case 'admin/user/regcode':
      $output = '<p>' . t('View and manage created registration codes.') . '</p>';
      break;
    case 'admin/user/regcode/create':
      $output = '<p>' . t('Create manually or generate new registration codes.') . '</p>';
      break;
    case 'admin/user/regcode/manage':
      $output = '<p>' . t('Provides bulk management features for created registration codes.') . '</p>';
      break;
    case 'admin/user/regcode/settings':
      $output = '<p>' . t('Configure the registration code module.') . '</p>';
      break;
  }
  return $output;
}