You are here

function imageeditor_permission in Image Editor 7

Implements hook_permission().

File

./imageeditor.module, line 10
Allows online editing of images using different image editing services.

Code

function imageeditor_permission() {
  return array(
    'use imageeditor' => array(
      'title' => t('Use Image Editor'),
      'description' => t('Allows to use different image editors to create/edit images.'),
    ),
    'administer imageeditor' => array(
      'title' => t('Administer Image Editor'),
      'description' => t('Set up API keys for different image editors and upload services.'),
    ),
  );
}