og_membership_type_access

  1. drupal
    1. 7 og.module function
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');
}