You are here

function fraction_help in Fraction 8

Same name and namespace in other branches
  1. 2.x 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:
  }
}