You are here

function fuzzysearch_help in Fuzzy Search 7

Implements hook_help().

File

./fuzzysearch.module, line 64
Fuzzysearch module.

Code

function fuzzysearch_help($path, $arg) {
  switch ($path) {
    case 'admin/help#fuzzysearch':
      $output = file_get_contents(drupal_get_path('module', 'fuzzysearch') . '/README.md');
      return module_exists('markdown') ? filter_xss_admin(module_invoke('markdown', 'filter', 'process', 0, -1, $output)) : '<pre>' . check_plain($output) . '</pre>';
  }
}