You are here

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

Settings constructor.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: Config Factory.

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

Overrides ConfigFormBase::__construct

File

src/Form/Settings.php, line 33

Class

Settings
Google API Settings.

Namespace

Drupal\google_api_client\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, GoogleApiClient $googleApiClient) {
  parent::__construct($config_factory);
  $this->googleApiClient = $googleApiClient;
}