You are here

function suggestion_help in Autocomplete Search Suggestions 7

Same name and namespace in other branches
  1. 8.2 suggestion.module \suggestion_help()
  2. 8 suggestion.module \suggestion_help()
  3. 3.0.x suggestion.module \suggestion_help()

Implements hook_help().

File

./suggestion.module, line 71
Autocomplete suggestions.

Code

function suggestion_help($path, $arg) {
  switch ($path) {
    case 'admin/help#suggestion':
      $txt = file_get_contents(drupal_get_path('module', 'suggestion') . '/README.txt');
      return str_replace("\n", "\n<br />", check_plain($txt));
  }
}