You are here

public function UserManager::setProfile in Open Social 8.6

Same name and namespace in other branches
  1. 8.9 modules/custom/social_auth_extra/src/UserManager.php \Drupal\social_auth_extra\UserManager::setProfile()
  2. 8 modules/custom/social_auth_extra/src/UserManager.php \Drupal\social_auth_extra\UserManager::setProfile()
  3. 8.2 modules/custom/social_auth_extra/src/UserManager.php \Drupal\social_auth_extra\UserManager::setProfile()
  4. 8.3 modules/custom/social_auth_extra/src/UserManager.php \Drupal\social_auth_extra\UserManager::setProfile()
  5. 8.4 modules/custom/social_auth_extra/src/UserManager.php \Drupal\social_auth_extra\UserManager::setProfile()
  6. 8.5 modules/custom/social_auth_extra/src/UserManager.php \Drupal\social_auth_extra\UserManager::setProfile()
  7. 8.7 modules/custom/social_auth_extra/src/UserManager.php \Drupal\social_auth_extra\UserManager::setProfile()
  8. 8.8 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_extra

Code

public function setProfile(ProfileInterface $profile) {
  $this->profile = $profile;
}