MediaWiki master
GetBlockErrorMessageKeyHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Hook;
4
6
26 public function onGetBlockErrorMessageKey( Block $block, string &$key );
27}
Represents a block that may prevent users from performing specific operations.
Definition Block.php:45
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...