function fraction_help in Fraction 2.x
Same name and namespace in other branches
- 8 fraction.module \fraction_help()
Implements hook_help().
File
- ./
fraction.module, line 14 - Fraction module code.
Code
function fraction_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
// Main module help for the fraction module.
case 'help.page.fraction':
$output = '';
$output .= '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t('Provides a field for storing decimals as fractions, for maximum precision.') . '</p>';
return $output;
default:
}
}