You are here

function gauth_user_services_types in Google Auth 7

Same name and namespace in other branches
  1. 7.2 gauth_user/gauth_user.module \gauth_user_services_types()

Function return the types of services created.

1 string reference to 'gauth_user_services_types'
gauth_user_services_edit_form in gauth_user/gauth_user.admin.inc
Form builder; Edit an services account.

File

gauth_user/gauth_user.module, line 323
Google Auth Api for drupal.

Code

function gauth_user_services_types($id = NULL) {
  $accounts = gauth_user_services_load($id, FALSE);
  $return = array();
  if ($accounts) {
    $return = entity_key_array_by_property($accounts, 'id');
  }
  return $return;
}