function regcode_help in Registration codes 6
Same name and namespace in other branches
- 8 regcode.module \regcode_help()
- 5.3 regcode.module \regcode_help()
- 5 regcode.module \regcode_help()
- 6.2 regcode.module \regcode_help()
- 7.2 regcode.module \regcode_help()
- 7 regcode.module \regcode_help()
Implementation of hook_help().
File
- ./
regcode.module, line 12
Code
function regcode_help($path, $arg) {
$output = '';
//declare your output variable
switch ($path) {
case 'admin/help#regcode':
$output = '<p>' . t('Provides user registration code functionality.') . '</p>';
break;
case 'admin/user/regcodes':
$output = '<p>' . t('Change global settings for registration codes.') . '</p>';
break;
case 'admin/user/regcodes/add':
$output = '<p>' . t('Create a registration code.') . '</p>';
break;
case 'admin/user/regcodes/list':
$output = '<p>' . t('List and filter all registration codes.') . '</p>';
$output .= '<p>' . t('Note: The UID indicates only the last user to use a registration code.') . '</p>';
break;
case 'admin/user/regcodes/create':
$output = '<p>' . t('Create and generate registration codes.') . '</p>';
break;
case 'admin/user/regcodes/import':
$output = '<p>' . t('Import registration codes from a CSV file.') . '</p>';
break;
}
return $output;
}