You are here

public function UserManager::setAccount in Open Social 8.9

Same name and namespace in other branches
  1. 8 modules/custom/social_auth_extra/src/UserManager.php \Drupal\social_auth_extra\UserManager::setAccount()
  2. 8.2 modules/custom/social_auth_extra/src/UserManager.php \Drupal\social_auth_extra\UserManager::setAccount()
  3. 8.3 modules/custom/social_auth_extra/src/UserManager.php \Drupal\social_auth_extra\UserManager::setAccount()
  4. 8.4 modules/custom/social_auth_extra/src/UserManager.php \Drupal\social_auth_extra\UserManager::setAccount()
  5. 8.5 modules/custom/social_auth_extra/src/UserManager.php \Drupal\social_auth_extra\UserManager::setAccount()
  6. 8.6 modules/custom/social_auth_extra/src/UserManager.php \Drupal\social_auth_extra\UserManager::setAccount()
  7. 8.7 modules/custom/social_auth_extra/src/UserManager.php \Drupal\social_auth_extra\UserManager::setAccount()
  8. 8.8 modules/custom/social_auth_extra/src/UserManager.php \Drupal\social_auth_extra\UserManager::setAccount()

Set an instance of user account to user manager to use it later.

Parameters

\Drupal\user\UserInterface $account: User account.

Return value

null Returns null.

Overrides UserManagerInterface::setAccount

File

modules/custom/social_auth_extra/src/UserManager.php, line 196

Class

UserManager
Class UserManager.

Namespace

Drupal\social_auth_extra

Code

public function setAccount(UserInterface $account) {
  $this->account = $account;
}