You are here

function imagick_help in Imagick 7

Implements hook_help().

File

./imagick.module, line 338
Imagick toolkit for image manipulation within Drupal.

Code

function imagick_help($path, $arg) {
  switch ($path) {
    case 'admin/config/media/image-styles/edit/%/effects/%':
      $effect = image_effect_load($arg[7], $arg[5]);
      return isset($effect['help']) ? '<p>' . $effect['help'] . '</p>' : NULL;
  }
}