You are here

function imagecache_testsuite_help in ImageCache Actions 6.2

Same name and namespace in other branches
  1. 8 tests/imagecache_testsuite.module \imagecache_testsuite_help()
  2. 7 tests/imagecache_testsuite.module \imagecache_testsuite_help()

Implementation of hook_help()

File

tests/imagecache_testsuite.module, line 48

Code

function imagecache_testsuite_help($path, $arg) {
  switch ($path) {
    case 'admin/build/imagecache/test':
      $output = file_get_contents(drupal_get_path('module', 'imagecache_testsuite') . "/README.txt");
      return _filter_autop($output);
      break;
    case 'admin/build/imagecache/test':
      return t('This displays a number of examples of keyword positioning. This positioning algorithm is used when placing image overlays, such as watermarks or text on a base image canvas. Illustrated are both the expected result and the actual result. This page is just for debugging to confirm that this behavior doesnt change as the code gets updated. If the two illustrations do not match, there is probably something wrong with the calculation logic.');
      break;
  }
}