MediaWiki master
MediaWiki\User\Hook\UserLogoutHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inherited by MediaWiki\HookContainer\HookRunner.

Public Member Functions

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

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "UserLogout" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 14 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: