Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4129300
GetAllBlockActionsHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
983 B
Referenced Files
None
Subscribers
None
GetAllBlockActionsHook.php
View Options
<?php
namespace
MediaWiki\Block\Hook
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "GetAllBlockActions" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
GetAllBlockActionsHook
{
/**
* Use this hook to add an action or actions that may be blocked by a partial block.
*
* Add an item to the $actions array with:
* - key: unique action string (as it appears in the code)
* - value: unique integer ID
*
* The ID must be 100 or greater (IDs below 100 are reserved for core actions),
* must not conflict with other extension IDs, and must be documented at:
* https://www.mediawiki.org/wiki/Manual:Hooks/GetAllBlockActions
*
* @since 1.37
*
* @param int[] &$actions Array of actions, which may be added to
* @return bool|void True or no return value to continue; callers of this hook should not abort it
*/
public
function
onGetAllBlockActions
(
&
$actions
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Wed, Aug 19, 09:46 (2 w, 5 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
dc/49/61bdeb19c4ad87182fb050d55b00
Default Alt Text
GetAllBlockActionsHook.php (983 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment