You are here

function imagecrop_imagecache_actions in Image javascript crop 5

Same name and namespace in other branches
  1. 6 imagecrop.module \imagecrop_imagecache_actions()

Implementation of hook_imagecache_actions().

File

./imagecrop.module, line 157
Provides a javascript toolbox through an imagecache action.

Code

function imagecrop_imagecache_actions() {
  $actions = array(
    'imagecrop_javascript' => array(
      'name' => 'Javascript crop',
      'description' => 'Create a crop with a javascript toolbox.',
      'file' => 'imagecrop_actions.inc',
    ),
  );
  return $actions;
}