MediaWiki REL1_35
MediaWiki\User\Hook\UserLogoutHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\User\Hook\UserLogoutHook:

Public Member Functions

 onUserLogout ( $user)
 This hook is called before a user logs out.
 

Detailed Description

Stable to implement.

Definition at line 11 of file UserLogoutHook.php.

Member Function Documentation

◆ onUserLogout()

MediaWiki\User\Hook\UserLogoutHook::onUserLogout (   $user)

This hook is called before a user logs out.

Since
1.35
Parameters
User$userThe user that is about to be logged out
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: