You are here

function slider_pro_help in Slider Pro 8

Same name and namespace in other branches
  1. 7 slider_pro.module \slider_pro_help()

Implements hook_help().

File

./slider_pro.module, line 8

Code

function slider_pro_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.slider_pro':
      $output = file_get_contents(drupal_get_path('module', 'slider_pro') . '/README.md');
      return '<pre>' . $output . '</pre>';
  }
}