You are here

function image_effects_text_help in ImageCache Actions 7

Same name and namespace in other branches
  1. 8 image_effects_text/image_effects_text.module \image_effects_text_help()

Implements hook_help().

File

image_effects_text/image_effects_text.module, line 43
Provide text manipulation effects for image styles.

Code

function image_effects_text_help($path, $arg) {
  if ($path === 'admin/advanced_help' && count($arg) >= 3 && $arg[2] === 'image_effects_text' || $path === 'admin/help/image_effects_text') {
    module_load_include('inc', 'image_effects_text', 'image_effects_text');
    return image_effects_text_help_inc($path, $arg);
  }
  else {
    if ($path === 'admin/help#image_effects_text') {

      // This path just checks if there is (non-empty) help, so it can place a
      // link to it.
      return ' ';
    }
  }
  return '';
}