You are here

function elevatezoomplus_ui_help in ElevateZoom Plus 8

Same name and namespace in other branches
  1. 7 modules/ui/elevatezoomplus_ui.module \elevatezoomplus_ui_help()

Implements hook_help().

File

modules/ui/elevatezoomplus_ui.module, line 32
Provides the ElevateZoomPlus UI.

Code

function elevatezoomplus_ui_help($route_name) {
  if ($route_name == 'help.page.elevatezoomplus_ui') {
    $output = file_get_contents(dirname(dirname(dirname(__FILE__))) . '/README.md');
    return function_exists('blazy_parse_markdown') ? blazy_parse_markdown($output) : '<pre>' . $output . '</pre>';
  }
  return '';
}