Page MenuHomeWickedGov Phorge

CentralAuthUserVisibilityChangedHook.php
No OneTemporary

Size
769 B
Referenced Files
None
Subscribers
None

CentralAuthUserVisibilityChangedHook.php

<?php
namespace MediaWiki\Extension\CentralAuth\Hooks;
use MediaWiki\Extension\CentralAuth\User\CentralAuthUser;
/**
* This is a hook handler interface, see docs/Hooks.md in core.
* Use the hook name "CentralAuthUserVisibilityChanged" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface CentralAuthUserVisibilityChangedHook {
/**
* This hook is fired whenenver a global user's visibility changes.
*
* @since 1.45
* @param CentralAuthUser $centralAuthUser The user whose visibility was changed.
* @param int $newVisibility One of the CentralAuthUser::HIDDEN_LEVEL_* constants
*/
public function onCentralAuthUserVisibilityChanged(
CentralAuthUser $centralAuthUser,
int $newVisibility
);
}

File Metadata

Mime Type
text/x-php
Expires
Sat, Oct 3, 23:42 (2 w, 3 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
e5/f7/0a83905092fbd34562abf1656312
Default Alt Text
CentralAuthUserVisibilityChangedHook.php (769 B)

Event Timeline