function hook_oauth2_client_info_alter in OAuth2 Client 8.3
Same name and namespace in other branches
- 8.2 oauth2_client.api.php \hook_oauth2_client_info_alter()
Alter OAuth2 Client plugin values.
Parameters
array $oauth2_clients: An array of OAuth2 Client plugins registered on the system.
1 invocation of hook_oauth2_client_info_alter()
- Oauth2ClientPluginManager::__construct in src/
PluginManager/ Oauth2ClientPluginManager.php - Constructs an Oauth2ClientPluginManager object.
File
- ./
oauth2_client.api.php, line 14 - Documents hooks provided by the OAuth2 Client module.
Code
function hook_oauth2_client_info_alter(array &$oauth2_clients) {
$oauth2_clients['client_id']['some_key'] = 'some_value';
}