You are here

function slick_ui_help in Slick Carousel 7.3

Same name and namespace in other branches
  1. 8.2 slick_ui/slick_ui.module \slick_ui_help()
  2. 8 slick_ui/slick_ui.module \slick_ui_help()
  3. 7.2 slick_ui/slick_ui.module \slick_ui_help()

Implements hook_help().

File

slick_ui/slick_ui.module, line 113
Provides Slick carousel configuration entity UI.

Code

function slick_ui_help($path, $arg) {
  if ($path == 'admin/help#slick_ui') {
    $output = file_get_contents(dirname(dirname(__FILE__)) . '/docs/README.md');
    $output .= file_get_contents(dirname(dirname(__FILE__)) . '/docs/CONTRIBUTION.md');
    $output .= file_get_contents(dirname(dirname(__FILE__)) . '/docs/FAQS.md');
    $output .= file_get_contents(dirname(dirname(__FILE__)) . '/docs/TROUBLESHOOTING.md');
    $output .= file_get_contents(dirname(dirname(__FILE__)) . '/docs/UPGRADE.md');
    return function_exists('_filter_markdown') ? _filter_markdown($output, NULL) : '<pre>' . $output . '</pre>';
  }
  return '';
}