You are here

function imageeditor_settings_access in Image Editor 7

Same name and namespace in other branches
  1. 6 imageeditor.module \imageeditor_settings_access()

Access callback for admin settings page.

1 string reference to 'imageeditor_settings_access'
imageeditor_menu in ./imageeditor.module
Implements hook_menu().

File

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

Code

function imageeditor_settings_access() {
  if (user_access('administer site configuration') || user_access('administer imageeditor')) {
    return TRUE;
  }
  return FALSE;
}