public function GoogleApiClient::setAccessType in Google API PHP Client 8.2
Same name and namespace in other branches
- 8.4 src/Entity/GoogleApiClient.php \Drupal\google_api_client\Entity\GoogleApiClient::setAccessType()
- 8.3 src/Entity/GoogleApiClient.php \Drupal\google_api_client\Entity\GoogleApiClient::setAccessType()
Function set whether the account is offline.
Parameters
bool $type: Pass TRUE if offline else FALSE.
Overrides GoogleApiClientInterface::setAccessType
File
- src/
Entity/ GoogleApiClient.php, line 306
Class
- GoogleApiClient
- Defines the GoogleApiClient entity.
Namespace
Drupal\google_api_client\EntityCode
public function setAccessType($type) {
return $this
->set('access_type', $type);
}