You are here

function porterstemmer_help in Porter-Stemmer 8

Same name and namespace in other branches
  1. 5 porterstemmer.module \porterstemmer_help()
  2. 6.2 porterstemmer.module \porterstemmer_help()
  3. 6 porterstemmer.module \porterstemmer_help()
  4. 7 porterstemmer.module \porterstemmer_help()

Implements hook_help().

File

./porterstemmer.module, line 21
Contains porterstemmer.module.

Code

function porterstemmer_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {

    // Main module help for the porterstemmer module.
    case 'help.page.porterstemmer':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('Improves American English language searching by simplifying related words to their root (conjugations, plurals, ...).') . '</p>';
      return $output;
    default:
  }
}