You are here

function blazy_photoswipe_help in Blazy PhotoSwipe 7

Same name and namespace in other branches
  1. 8 blazy_photoswipe.module \blazy_photoswipe_help()

Implements hook_help().

File

./blazy_photoswipe.module, line 90
Provides a simple Blazy PhotoSwipe integration.

Code

function blazy_photoswipe_help($path, $arg) {
  if ($path == 'admin/help#blazy_photoswipe') {
    $output = file_get_contents(dirname(__FILE__) . '/README.md');
    return function_exists('_filter_markdown') ? _filter_markdown($output, NULL) : '<pre>' . $output . '</pre>';
  }
  return '';
}