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