MediaWiki
master
GetBlockErrorMessageKeyHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
5
use
MediaWiki\Block\Block
;
6
14
interface
GetBlockErrorMessageKeyHook
{
26
public
function
onGetBlockErrorMessageKey
(
Block
$block,
string
&$key );
27
}
28
33
class_alias( GetBlockErrorMessageKeyHook::class,
'MediaWiki\Hook\GetBlockErrorMessageKey'
);
MediaWiki\Block\Block
Represents a block that may prevent users from performing specific operations.
Definition:
Block.php:41
MediaWiki\Hook\GetBlockErrorMessageKeyHook
This is a hook handler interface, see docs/Hooks.md.
Definition:
GetBlockErrorMessageKeyHook.php:14
MediaWiki\Hook\GetBlockErrorMessageKeyHook\onGetBlockErrorMessageKey
onGetBlockErrorMessageKey(Block $block, string &$key)
This hook is called in BlockErrorFormatter to allow extensions to override the message that will be d...
MediaWiki\Hook
Definition:
ActionBeforeFormDisplayHook.php:3
includes
Hook
GetBlockErrorMessageKeyHook.php
Generated on Mon Sep 25 2023 15:08:20 for MediaWiki by
1.9.1