You are here

function slick_paragraphs_help in Slick Paragraphs 8

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

Implements hook_help().

File

./slick_paragraphs.module, line 29
Provides Slick 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 '';
}