You are here

public function GoogleApiClientInterface::setOwner in Google API PHP Client 8.3

Same name and namespace in other branches
  1. 8.4 src/GoogleApiClientInterface.php \Drupal\google_api_client\GoogleApiClientInterface::setOwner()
  2. 8.2 src/GoogleApiClientInterface.php \Drupal\google_api_client\GoogleApiClientInterface::setOwner()

Function set whether the account is authenticated.

Parameters

\Drupal\user\UserInterface $account: Pass User object for the owner.

Overrides EntityOwnerInterface::setOwner

1 method overrides GoogleApiClientInterface::setOwner()
GoogleApiClient::setOwner in src/Entity/GoogleApiClient.php
Function set whether the account is authenticated.

File

src/GoogleApiClientInterface.php, line 174

Class

GoogleApiClientInterface
Provides an interface defining a GoogleApiClient entity.

Namespace

Drupal\google_api_client

Code

public function setOwner(UserInterface $account);