public function UserManager::setProfile in Open Social 8.8
Same name and namespace in other branches
- 8.9 modules/custom/social_auth_extra/src/UserManager.php \Drupal\social_auth_extra\UserManager::setProfile()
- 8 modules/custom/social_auth_extra/src/UserManager.php \Drupal\social_auth_extra\UserManager::setProfile()
- 8.2 modules/custom/social_auth_extra/src/UserManager.php \Drupal\social_auth_extra\UserManager::setProfile()
- 8.3 modules/custom/social_auth_extra/src/UserManager.php \Drupal\social_auth_extra\UserManager::setProfile()
- 8.4 modules/custom/social_auth_extra/src/UserManager.php \Drupal\social_auth_extra\UserManager::setProfile()
- 8.5 modules/custom/social_auth_extra/src/UserManager.php \Drupal\social_auth_extra\UserManager::setProfile()
- 8.6 modules/custom/social_auth_extra/src/UserManager.php \Drupal\social_auth_extra\UserManager::setProfile()
- 8.7 modules/custom/social_auth_extra/src/UserManager.php \Drupal\social_auth_extra\UserManager::setProfile()
Set an instance of profile to user manager to use it later.
Parameters
\Drupal\profile\Entity\ProfileInterface $profile: Profile instance.
Return value
null Returns null.
Overrides UserManagerInterface::setProfile
File
- modules/
custom/ social_auth_extra/ src/ UserManager.php, line 189
Class
- UserManager
- Class UserManager.
Namespace
Drupal\social_auth_extraCode
public function setProfile(ProfileInterface $profile) {
$this->profile = $profile;
}