You are here

function slick_example_help in Slick extras 8

Same name and namespace in other branches
  1. 7.3 slick_example/slick_example.module \slick_example_help()

Implements hook_help().

File

slick_example/slick_example.module, line 32
Provides Slick carousel examples.

Code

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