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