Page MenuHomeWickedGov Phorge

PerformRetroactiveAutoblockHook.php
No OneTemporary

Size
730 B
Referenced Files
None
Subscribers
None

PerformRetroactiveAutoblockHook.php

<?php
namespace MediaWiki\Block\Hook;
use MediaWiki\Block\DatabaseBlock;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "PerformRetroactiveAutoblock" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface PerformRetroactiveAutoblockHook {
/**
* This hook is called before a retroactive autoblock is applied to a user.
*
* @since 1.35
*
* @param DatabaseBlock $block Block object which is set to be autoblocking
* @param array &$blockIds Array of block IDs of the autoblock
* @return bool|void True or no return value to continue or false to abort
*/
public function onPerformRetroactiveAutoblock( $block, &$blockIds );
}

File Metadata

Mime Type
text/x-php
Expires
Aug 21 2026, 04:46 (12 w, 5 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
b3/7c/54ff1975f0dc0f1b2bdbdf8ef8a1
Default Alt Text
PerformRetroactiveAutoblockHook.php (730 B)

Event Timeline