You are here

function imagecrop_theme in Image javascript crop 6

Same name and namespace in other branches
  1. 7 imagecrop.module \imagecrop_theme()

Implementation of hook_theme().

File

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

Code

function imagecrop_theme() {
  return array(
    'imagecrop_javascript' => array(
      'arguments' => array(
        'element' => NULL,
      ),
    ),
    'imagecrop_reuse' => array(
      'arguments' => array(
        'element' => NULL,
      ),
    ),
    'imagecrop' => array(
      'arguments' => array(
        'url' => NULL,
        'width' => NULL,
        'height' => NULL,
        'resize' => NULL,
      ),
    ),
    'imagecrop_result' => array(
      'arguments' => array(
        'presetname' => NULL,
        'filepath' => NULL,
        'alt' => NULL,
        'attributes' => NULL,
      ),
    ),
    'presettabs' => array(
      'arguments' => array(
        'presets' => array(),
        'fid' => NULL,
        'active_preset' => NULL,
        'module' => NULL,
        'field' => NULL,
        'node_type' => NULL,
      ),
    ),
  );
}