MediaWiki master
MediaWiki\Block\Hook\PerformRetroactiveAutoblockHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inherited by MediaWiki\HookContainer\HookRunner.

Public Member Functions

 onPerformRetroactiveAutoblock ( $block, &$blockIds)
 This hook is called before a retroactive autoblock is applied to a user.
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "PerformRetroactiveAutoblock" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 14 of file PerformRetroactiveAutoblockHook.php.

Member Function Documentation

◆ onPerformRetroactiveAutoblock()

MediaWiki\Block\Hook\PerformRetroactiveAutoblockHook::onPerformRetroactiveAutoblock ( $block,
& $blockIds )

This hook is called before a retroactive autoblock is applied to a user.

Since
1.35
Parameters
DatabaseBlock$blockBlock object which is set to be autoblocking
array&$blockIdsArray of block IDs of the autoblock
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: