You are here

public function GoogleAuthSettings::getClientId in Social Auth Google 3.x

Same name and namespace in other branches
  1. 8.2 src/Settings/GoogleAuthSettings.php \Drupal\social_auth_google\Settings\GoogleAuthSettings::getClientId()
  2. 8 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\Settings

Code

public function getClientId() {
  if (!$this->clientId) {
    $this->clientId = $this->config
      ->get('client_id');
  }
  return $this->clientId;
}