You are here

function regcode_help in Registration codes 7

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.2 regcode.module \regcode_help()
  5. 6 regcode.module \regcode_help()
  6. 7.2 regcode.module \regcode_help()

Implements hook_help().

File

./regcode.module, line 25
Main functionality and hooks of regcode module.

Code

function regcode_help($path, $arg) {
  $output = '';
  switch ($path) {
    case 'admin/config/people/regcode':
      $output = '<p>' . t('View and manage created registration codes.') . '</p>';
      break;
    case 'admin/config/people/regcode/create':
      $output = '<p>' . t('Create manually or generate new registration codes.') . '</p>';
      break;
    case 'admin/config/people/regcode/manage':
      $output = '<p>' . t('Provides bulk management features for created registration codes.') . '</p>';
      break;
    case 'admin/config/people/regcode/settings':
      $output = '<p>' . t('Configure the registration code module.') . '</p>';
      break;
  }
  return $output;
}