Page MenuHomeWickedGov Phorge

GetBlockErrorMessageKeyHook.php
No OneTemporary

Size
677 B
Referenced Files
None
Subscribers
None

GetBlockErrorMessageKeyHook.php

<?php
namespace MediaWiki\Hook;
use MediaWiki\Block\Block;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "GetBlockErrorMessageKey" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface GetBlockErrorMessageKeyHook {
/**
* This hook is called in BlockErrorFormatter to allow
* extensions to override the message that will be displayed
* to the user.
*
* @since 1.40
*
* @param Block $block
* @param string &$key
* @return bool|void True or no return value to continue or false to abort
*/
public function onGetBlockErrorMessageKey( Block $block, string &$key );
}

File Metadata

Mime Type
text/x-php
Expires
Thu, Dec 18, 07:56 (47 m, 23 s)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
54/9b/c7739a7d936cc037c662593c13b1
Default Alt Text
GetBlockErrorMessageKeyHook.php (677 B)

Event Timeline