You are here

function floating_menu_help in Floating Menu 8

Implements hook_help().

File

./floating_menu.module, line 26
This is the main module file for Floating Menu.

Code

function floating_menu_help($route_name, $route_match) {
  switch ($route_name) {
    case 'help.page.floating_menu':
      $path = drupal_get_path('module', 'floating_menu');
      $output = file_get_contents($path . '/README.txt');
      $output = str_replace("\n", '<br>', $output);
      return $output;
  }
}