You are here

function gprofile_type_access in Group 7

Entity API access callback for group member profile types.

1 string reference to 'gprofile_type_access'
gprofile_entity_info in modules/gprofile/gprofile.entity.inc
Implements hook_entity_info().

File

modules/gprofile/gprofile.entity.inc, line 95
Contains all Entity API functions for the Group member profiles module.

Code

function gprofile_type_access($op, $gprofile_type, $account = NULL, $entity_type = NULL) {
  return user_access('configure group module', $account);
}