MediaWiki REL1_35
MediaWiki\Block\Hook\PerformRetroactiveAutoblockHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Block\Hook\PerformRetroactiveAutoblockHook:

Public Member Functions

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

Detailed Description

Stable to implement.

Definition at line 11 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: