You are here

public function Callback::__construct in Google API PHP Client 8

Same name and namespace in other branches
  1. 8.4 src/Controller/Callback.php \Drupal\google_api_client\Controller\Callback::__construct()
  2. 8.2 src/Controller/Callback.php \Drupal\google_api_client\Controller\Callback::__construct()
  3. 8.3 src/Controller/Callback.php \Drupal\google_api_client\Controller\Callback::__construct()

Callback constructor.

Parameters

\Drupal\google_api_client\Service\GoogleApiClient $googleApiClient: Google API Client.

File

src/Controller/Callback.php, line 32

Class

Callback
Google Client Callback Controller.

Namespace

Drupal\google_api_client\Controller

Code

public function __construct(GoogleApiClient $googleApiClient) {
  $this->googleApiClient = $googleApiClient;
}