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