function group_membership_status_info in Group 7
Get the group membership status information.
Return value
array An array of group membership status info as provided by hook_group_membership_status_info().
See also
hook_group_membership_status_info()
5 calls to group_membership_status_info()
- ggroup_run_member_inheritance in modules/
ggroup/ ggroup.module - Trigger the inheritance downwards for a membership.
- Group::userPermissions in classes/
group.inc - Retrieve a user's permissions for a group.
- GroupMembership::getByActiveStatus in classes/
group_membership.inc - Get all active memberships for a user.
- GroupMembership::hasPermission in classes/
group_membership.inc - Checks if a membership has a certain group permission.
- group_membership_status_types in helpers/
group.inc - Return the possible membership statuses.
1 string reference to 'group_membership_status_info'
- group_hook_info in ./
group.module - Implements hook_hook_info().
File
- helpers/
group.inc, line 177 - Group related helper functions.
Code
function group_membership_status_info() {
$info =& drupal_static(__FUNCTION__);
if (!isset($info)) {
$info = module_invoke_all('group_membership_status_info');
}
return $info;
}