You are here

function imagepicker_access_use in Image Picker 6.2

Same name and namespace in other branches
  1. 7 imagepicker.module \imagepicker_access_use()
1 string reference to 'imagepicker_access_use'
imagepicker_menu in ./imagepicker.module
Implementation of hook_menu().

File

./imagepicker.module, line 519
Enables permitted roles to upload images for insertion into configured nodes.

Code

function imagepicker_access_use() {
  if (user_access('use imagepicker')) {
    return TRUE;
  }
  return FALSE;
}