You are here

function snowball_stemmer_help in Snowball Stemmer 8

Same name and namespace in other branches
  1. 2.x snowball_stemmer.module \snowball_stemmer_help()

Implements hook_help().

File

./snowball_stemmer.module, line 13
Core hooks for Snowball Stemmer.

Code

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

    // Main module help for the porterstemmer module.
    case 'help.page.snowball_stemmer':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('<a href="https://en.wikipedia.org/wiki/Stemming">Stemmer</a> service built with <a href="https://github.com/wamania/php-stemmer">PHP Stemmer</a>, supporting: English, French, German, Italian, Spanish, Portuguese, Romanian, Dutch, Swedish, Norwegian, Danish. Includes core and <a href="https://drupal.org/project/search_api>Search API</a> processor integration.') . '</p>';
      return $output;
    default:
  }
}