function imagepicker_access_admin_group in Image Picker 6.2
Same name and namespace in other branches
- 7 imagepicker.module \imagepicker_access_admin_group()
1 string reference to 'imagepicker_access_admin_group'
- imagepicker_menu in ./
imagepicker.module - Implementation of hook_menu().
File
- ./
imagepicker.module, line 503 - Enables permitted roles to upload images for insertion into configured nodes.
Code
function imagepicker_access_admin_group() {
if (variable_get('imagepicker_groups_enabled', 1) && user_access('administer imagepicker')) {
return TRUE;
}
return FALSE;
}