You are here

function imagecrop_imagecache_actions in Image javascript crop 6

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

Implementation of hook_imagecache_actions().

File

./imagecrop.module, line 172
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',
    ),
    'imagecrop_reuse' => array(
      'name' => 'Javascript crop reuse selection',
      'description' => 'Reuse crop selection from another preset.',
      'file' => 'imagecrop_actions.inc',
    ),
  );
  return $actions;
}