You are here

public function GoogleAuthSettings::getClientId in Social Auth Google 8

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

Namespace

Drupal\social_auth_google\Settings

Code

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