You are here

function signaturefield_help in SignatureField 7.2

Same name and namespace in other branches
  1. 6 modules/help.inc \signaturefield_help()
  2. 7 includes/help.inc \signaturefield_help()

Implements hook_help().

File

includes/help.inc, line 11
Help module integration.

Code

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