UserAuthenticationController::userLogout

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();
}
doc_Drupal
2016-10-29 09:52:19
Comments
Leave a Comment

Please login to continue.