Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4145004
UserLogoutCompleteHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
765 B
Referenced Files
None
Subscribers
None
UserLogoutCompleteHook.php
View Options
<?php
namespace
MediaWiki\Hook
;
use
MediaWiki\User\User
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "UserLogoutComplete" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
UserLogoutCompleteHook
{
/**
* This hook is called after a user has logged out.
*
* @since 1.35
*
* @param User $user the user object _after_ logout (won't have name, ID, etc.)
* @param string &$inject_html Any HTML to inject after the "logged out" message.
* @param string $oldName name of the user before logout (string)
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onUserLogoutComplete
(
$user
,
&
$inject_html
,
$oldName
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Aug 19 2026, 17:28 (4 w, 6 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
0a/fc/967727696e47b67c4658a86e192d
Default Alt Text
UserLogoutCompleteHook.php (765 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment