function RestAuthenticationController::userLogout
Logs the user out.
1 call to RestAuthenticationController::userLogout()
- RestAuthenticationController::logout in core/
modules/ rest/ src/ Controller/ RestAuthenticationController.php - Logs out a user.
File
-
core/
modules/ rest/ src/ Controller/ RestAuthenticationController.php, line 263
Class
- RestAuthenticationController
- Provides controllers for login, login status and logout via HTTP requests.
Namespace
Drupal\rest\ControllerCode
protected function userLogout() : void {
user_logout();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.