You are here

function slick_paragraphs_help in Slick Paragraphs 8.2

Same name and namespace in other branches
  1. 8 slick_paragraphs.module \slick_paragraphs_help()

Implements hook_help().

File

./slick_paragraphs.module, line 11
Provides Slick Carousel integration with Paragraphs.

Code

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