You are here

public function GoogleApiClient::getDeveloperKey in Google API PHP Client 8.3

Same name and namespace in other branches
  1. 8.4 src/Entity/GoogleApiClient.php \Drupal\google_api_client\Entity\GoogleApiClient::getDeveloperKey()
  2. 8.2 src/Entity/GoogleApiClient.php \Drupal\google_api_client\Entity\GoogleApiClient::getDeveloperKey()

Function returns the Developer key saved for the account.

Return value

string Returns Developer key.

Overrides GoogleApiClientInterface::getDeveloperKey

1 call to GoogleApiClient::getDeveloperKey()
GoogleApiClient::save in src/Entity/GoogleApiClient.php

File

src/Entity/GoogleApiClient.php, line 151

Class

GoogleApiClient
Defines the GoogleApiClient entity.

Namespace

Drupal\google_api_client\Entity

Code

public function getDeveloperKey() {
  return $this
    ->get('developer_key')->value;
}