public function GoogleApiServiceClientInterface::setScopes in Google API PHP Client 8.3
Same name and namespace in other branches
- 8.4 src/GoogleApiServiceClientInterface.php \Drupal\google_api_client\GoogleApiServiceClientInterface::setScopes()
Function set Scopes.
Parameters
array $scopes: Pass array of scopes for the account.
1 method overrides GoogleApiServiceClientInterface::setScopes()
- GoogleApiServiceClient::setScopes in src/
Entity/ GoogleApiServiceClient.php - Function set Scopes.
File
- src/
GoogleApiServiceClientInterface.php, line 71
Class
- GoogleApiServiceClientInterface
- Provides an interface defining a GoogleApiServiceClient entity.
Namespace
Drupal\google_api_clientCode
public function setScopes(array $scopes);