You are here

function shurly_help in ShURLy 8

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

Implements hook_help().

File

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

Code

function shurly_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case "help.page.shurly":
      return '<div style="white-space:pre-wrap">' . htmlentities(file_get_contents('README.txt', FILE_USE_INCLUDE_PATH)) . '</div>';
  }
}