You are here

function skype_help in Skype 7

Same name and namespace in other branches
  1. 8 skype.module \skype_help()

Implements hook_help().

File

./skype.module, line 10

Code

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