MediaWiki master
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
onSpreadAnyEditBlock ( $user, bool &$blockWasSpread) | |
Use this hook to spread any blocks that are not provided by core when User::spreadAnyEditBlock is called. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "SpreadAnyEditBlock" to register handlers implementing this interface.
Definition at line 14 of file SpreadAnyEditBlockHook.php.
MediaWiki\Block\Hook\SpreadAnyEditBlockHook::onSpreadAnyEditBlock | ( | $user, | |
bool & | $blockWasSpread ) |
Use this hook to spread any blocks that are not provided by core when User::spreadAnyEditBlock is called.
User | $user | The user to check for blocks that should be spread |
bool | &$blockWasSpread | Whether any block was spread |
Implemented in MediaWiki\HookContainer\HookRunner.