MediaWiki
REL1_39
GetUserBlockHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Block\Hook
;
4
5
use
MediaWiki\Block\AbstractBlock
;
6
use
User
;
7
15
interface
GetUserBlockHook
{
29
public
function
onGetUserBlock
( $user, $ip, &$block );
30
}
MediaWiki\Block\AbstractBlock
Definition
AbstractBlock.php:40
User
internal since 1.36
Definition
User.php:70
MediaWiki\Block\Hook\GetUserBlockHook
This is a hook handler interface, see docs/Hooks.md.
Definition
GetUserBlockHook.php:15
MediaWiki\Block\Hook\GetUserBlockHook\onGetUserBlock
onGetUserBlock( $user, $ip, &$block)
Use this hook to modify the block found by the block manager.
MediaWiki\Block\Hook
Definition
AbortAutoblockHook.php:3
includes
block
Hook
GetUserBlockHook.php
Generated on Mon Nov 25 2024 06:55:12 for MediaWiki by
1.10.0