You are here

function shurly_help in ShURLy 7

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

Implements hook_help().

File

./shurly.module, line 45
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.txt', FILE_USE_INCLUDE_PATH)) . '</div>';
      break;
  }
  return $output;
}