public function GoogleAuthSettings::getClientId in Social Auth Google 8.2
Same name and namespace in other branches
- 8 src/Settings/GoogleAuthSettings.php \Drupal\social_auth_google\Settings\GoogleAuthSettings::getClientId()
- 3.x src/Settings/GoogleAuthSettings.php \Drupal\social_auth_google\Settings\GoogleAuthSettings::getClientId()
Gets the client ID.
Return value
string The client ID.
Overrides GoogleAuthSettingsInterface::getClientId
File
- src/
Settings/ GoogleAuthSettings.php, line 36
Class
- GoogleAuthSettings
- Defines methods to get Social Auth Google settings.
Namespace
Drupal\social_auth_google\SettingsCode
public function getClientId() {
if (!$this->clientId) {
$this->clientId = $this->config
->get('client_id');
}
return $this->clientId;
}