MediaWiki REL1_35
MediaWiki\User\Hook\UserIsBlockedGloballyHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\User\Hook\UserIsBlockedGloballyHook:

Public Member Functions

 onUserIsBlockedGlobally ( $user, $ip, &$blocked, &$block)
 Use this hook to establish that a user is blocked on all wikis.
 

Detailed Description

Stable to implement.

Definition at line 11 of file UserIsBlockedGloballyHook.php.

Member Function Documentation

◆ onUserIsBlockedGlobally()

MediaWiki\User\Hook\UserIsBlockedGloballyHook::onUserIsBlockedGlobally (   $user,
  $ip,
$blocked,
$block 
)

Use this hook to establish that a user is blocked on all wikis.

Since
1.35
Parameters
User$userUser object
string$ipUser's IP address
bool&$blockedWhether the user is blocked, to be modified by the hook
null&$blockThe Block object, to be modified by the hook
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: