function _salesforce_fieldmap_access in Salesforce Suite 7.2
Same name and namespace in other branches
- 6.2 salesforce_api/salesforce_api.module \_salesforce_fieldmap_access()
Access callback for fieldmap editing screens.
2 string references to '_salesforce_fieldmap_access'
- salesforce_api_menu in salesforce_api/
salesforce_api.module - Implements hook_menu().
- sf_prematch_menu in sf_prematch/
sf_prematch.module - Implements hook_menu().
File
- salesforce_api/
salesforce_api.module, line 344 - Defines an API that enables modules to interact with the Salesforce server.
Code
function _salesforce_fieldmap_access($perm, $op = 'edit', $map = NULL) {
if (empty($map) || !is_object($map)) {
return FALSE;
}
return user_access($perm);
}