You are here

function ajax_loader_help in Ajax loader 8

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

Implements hook_help().

File

./ajax_loader.module, line 8

Code

function ajax_loader_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.ajax_loader':
      $output = file_get_contents(drupal_get_path('module', 'ajax_loader') . '/README.txt');
      return '<pre>' . $output . '</pre>';
  }
}