function UserAuthenticationController::userLoginFinalize
Same name in other branches
- 8.9.x core/modules/user/src/Controller/UserAuthenticationController.php \Drupal\user\Controller\UserAuthenticationController::userLoginFinalize()
- 10 core/modules/user/src/Controller/UserAuthenticationController.php \Drupal\user\Controller\UserAuthenticationController::userLoginFinalize()
- 11.x core/modules/user/src/Controller/UserAuthenticationController.php \Drupal\user\Controller\UserAuthenticationController::userLoginFinalize()
Finalizes the user login.
Parameters
\Drupal\user\UserInterface $user: The user.
1 call to UserAuthenticationController::userLoginFinalize()
- UserAuthenticationController::login in core/
modules/ user/ src/ Controller/ UserAuthenticationController.php - Logs in a user.
File
-
core/
modules/ user/ src/ Controller/ UserAuthenticationController.php, line 295
Class
- UserAuthenticationController
- Provides controllers for login, login status and logout via HTTP requests.
Namespace
Drupal\user\ControllerCode
protected function userLoginFinalize(UserInterface $user) {
user_login_finalize($user);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.