You are here

function shurly_help in ShURLy 6

Same name and namespace in other branches
  1. 8 shurly.module \shurly_help()
  2. 7 shurly.module \shurly_help()

Implementation of hook_help().

File

./shurly.module, line 16
description http://www.youtube.com/watch?v=Qo7qoonzTCE

Code

function shurly_help($path, $arg) {
  $output = '';
  switch ($path) {
    case "admin/help#shurly":
      $output = '<div style="white-space:pre-wrap">' . htmlentities(file_get_contents('README.markdown', FILE_USE_INCLUDE_PATH)) . '</div>';
      break;
  }
  return $output;
}