function profile2_type_access in Profile 2 7
Same name and namespace in other branches
- 7.2 profile2.module \profile2_type_access()
Access callback for the entity API.
1 string reference to 'profile2_type_access'
- profile2_entity_info in ./
profile2.module - Implements hook_entity_info().
File
- ./
profile2.module, line 848 - Support for configurable user profiles.
Code
function profile2_type_access($op, $type = NULL, $account = NULL) {
return user_access('administer profile types', $account);
}