function entityconnect_check_access in Entity connect 7.2
Same name and namespace in other branches
- 7 entityconnect.module \entityconnect_check_access()
Access callback: Used in return menu.
1 string reference to 'entityconnect_check_access'
- entityconnect_menu in ./
entityconnect.module - Implements hook_menu().
File
- ./
entityconnect.module, line 83 - Handles the main hooks used by entityconnect.
Code
function entityconnect_check_access() {
if (user_access('entityconnect add button') || user_access('entityconnect edit button')) {
return TRUE;
}
else {
return FALSE;
}
}