function hybridauth_get_provider_name in HybridAuth Social Login 7.2
Same name and namespace in other branches
- 6.2 hybridauth.module \hybridauth_get_provider_name()
- 7 hybridauth.auth.inc \hybridauth_get_provider_name()
Returns auth provider name by provider ID.
1 call to hybridauth_get_provider_name()
- hybridauth_get_connected_providers in ./
hybridauth.module - Returns connected providers for the current user.
1 string reference to 'hybridauth_get_provider_name'
- hybridauth_menu in ./
hybridauth.module - Implements hook_menu().
File
- ./
hybridauth.module, line 826 - Main file for the HybridAuth module.
Code
function hybridauth_get_provider_name($provider_id) {
$providers = hybridauth_providers_list();
return isset($providers[$provider_id]) ? $providers[$provider_id] : NULL;
}