You are here

function gprofile_group_membership_profile_info in Group 7

Implements hook_group_membership_profile_info().

File

modules/gprofile/gprofile.group.inc, line 29
Hook implementations for the Group module.

Code

function gprofile_group_membership_profile_info() {
  $profiles = array();
  foreach (gprofile_types() as $name => $gprofile_type) {
    $profiles[$name] = array(
      'label' => $gprofile_type
        ->label(),
      'entity status' => $gprofile_type->status,
      'path' => "admin/group/member/manage/{$name}",
    );
  }
  return $profiles;
}