You are here

function ajax_loader_help in Ajax loader 7

Same name and namespace in other branches
  1. 8 ajax_loader.module \ajax_loader_help()

Implements hook_help().

File

./ajax_loader.module, line 11
Contains general functionality and hooks.

Code

function ajax_loader_help($path, $arg) {
  switch ($path) {
    case 'admin/help#ajax_loader':
      $output = file_get_contents(drupal_get_path('module', 'ajax_loader') . '/README.txt');
      return module_exists('markdown') ? module_invoke('markdown', 'filter', 'process', 0, -1, $output) : '<pre>' . $output . '</pre>';
  }
}