You are here

function lightgallery_help in Lightgallery 7

Same name and namespace in other branches
  1. 8 lightgallery.module \lightgallery_help()

Implements hook_help().

File

./lightgallery.module, line 14

Code

function lightgallery_help($path, $arg) {
  switch ($path) {
    case 'admin/help#lightgallery':
      $output = file_get_contents(drupal_get_path('module', 'lightgallery') . '/README.txt');
      return '<pre>' . check_plain($output) . '</pre>';
  }
}