function exif_custom_main_page_access in EXIF Custom 7
Access callback for the main admin page.
1 string reference to 'exif_custom_main_page_access'
- exif_custom_menu in ./
exif_custom.module - Implements hook_menu().
File
- ./
exif_custom.module, line 71 - Primary hook implementations for EXIF Custom.
Code
function exif_custom_main_page_access() {
if (user_access('view image metadata')) {
return TRUE;
}
elseif (user_access('administer exif_custom')) {
return TRUE;
}
return FALSE;
}