Extension:CentralAuth/Hooks/CentralAuthIsUIReloadRecommended
Appearance
CentralAuthIsUIReloadRecommended | |
---|---|
Available from version ??? Allows an extension to intercept the decision if a UI reload should be recommended |
|
Define function: | public static function onCentralAuthIsUIReloadRecommended( User $user, bool &$recommendReload ) { ... }
|
Attach hook: | $wgHooks['CentralAuthIsUIReloadRecommended'][] = 'MyExtensionHooks::onCentralAuthIsUIReloadRecommended';
|
Called from: | File(s): CentralAuth / includes/CentralAuthHooks.php Function(s): isUIReloadRecommended |
For more information about attaching hooks, see Manual:Hooks .
For examples of other extensions using this hook, see Category:CentralAuthIsUIReloadRecommended extensions.
Parameters
[edit]$user
: An instance ofUser
&$recommendReload
: Abool
that defaults tofalse
. This value can be overridden by the extension calling this hook.