< Extension:CentralAuth < Hooks
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
$user
: An instance ofUser
&$recommendReload
: Abool
that defaults tofalse
. This value can be overridden by the extension calling this hook.
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.