You are here

function slick_views_help in Slick Views 8.2

Same name and namespace in other branches
  1. 8 slick_views.module \slick_views_help()
  2. 7.3 slick_views.module \slick_views_help()

Implements hook_help().

File

./slick_views.module, line 11
Provides Slick carousel integration with Views.

Code

function slick_views_help($route_name) {
  if ($route_name == 'help.page.slick_views') {
    $output = file_get_contents(dirname(__FILE__) . '/README.md');

    // @todo remove check once Blazy has stable release.
    return function_exists('blazy_parse_markdown') ? blazy_parse_markdown($output) : '<pre>' . $output . '</pre>';
  }
  return '';
}