public function UserManager::setAccount in Open Social 8.6
Same name and namespace in other branches
- 8.9 modules/custom/social_auth_extra/src/UserManager.php \Drupal\social_auth_extra\UserManager::setAccount()
- 8 modules/custom/social_auth_extra/src/UserManager.php \Drupal\social_auth_extra\UserManager::setAccount()
- 8.2 modules/custom/social_auth_extra/src/UserManager.php \Drupal\social_auth_extra\UserManager::setAccount()
- 8.3 modules/custom/social_auth_extra/src/UserManager.php \Drupal\social_auth_extra\UserManager::setAccount()
- 8.4 modules/custom/social_auth_extra/src/UserManager.php \Drupal\social_auth_extra\UserManager::setAccount()
- 8.5 modules/custom/social_auth_extra/src/UserManager.php \Drupal\social_auth_extra\UserManager::setAccount()
- 8.7 modules/custom/social_auth_extra/src/UserManager.php \Drupal\social_auth_extra\UserManager::setAccount()
- 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_extraCode
public function setAccount(UserInterface $account) {
$this->account = $account;
}