protected UserAuthenticationController::userLogout()
Logs the user out.
File
- core/modules/user/src/Controller/UserAuthenticationController.php, line 247
Class
- UserAuthenticationController
- Provides controllers for login, login status and logout via HTTP requests.
Namespace
Drupal\user\Controller
Code
protected function userLogout() {
user_logout();
}
Please login to continue.