You are here

function imageeditor_settings_access in Image Editor 6

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

Callback function for settings page access

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

File

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

Code

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