public function GoogleApiClient::setOwnerId 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::setOwnerId()
- 8.3 src/Entity/GoogleApiClient.php \Drupal\google_api_client\Entity\GoogleApiClient::setOwnerId()
Function set whether the account is authenticated.
Parameters
int $uid: Pass User id of the owner.
Overrides GoogleApiClientInterface::setOwnerId
File
- src/
Entity/ GoogleApiClient.php, line 313
Class
- GoogleApiClient
- Defines the GoogleApiClient entity.
Namespace
Drupal\google_api_client\EntityCode
public function setOwnerId($uid) {
$this
->set('uid', $uid);
return $this;
}