og_membership_type_access
- drupal
Drupal 7 og_membership_type_access($op, $entity, $account = NULL, $entity_type = 'og_membership')
Access callback for the group membership entity.
1 string reference to 'og_membership_type_access'
File
- sites/
all/ modules/ og/ og.module, line 976 - Enable users to create and manage groups with roles and permissions.
Code
function og_membership_type_access($op, $entity, $account = NULL, $entity_type = 'og_membership') {
// No-end user needs access to this entity, so restrict it to admins.
return user_access('administer group');
}

