You are here

function imagecrop_permission in Image javascript crop 7

Implements hook_permission().

File

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

Code

function imagecrop_permission() {
  return array(
    'crop any image' => array(
      'title' => t('Crop any image'),
    ),
    'crop own images' => array(
      'title' => t('Crop own images'),
    ),
    'administer imagecrop' => array(
      'title' => t('Administer imagecrop settings'),
      'description' => t('Administer the basic settings from image javascript crop'),
    ),
  );
}