MediaWiki REL1_35
MediaWiki\User\Hook\UserRemoveGroupHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\User\Hook\UserRemoveGroupHook:

Public Member Functions

 onUserRemoveGroup ( $user, &$group)
 This hook is called when removing a group.
 

Detailed Description

Stable to implement.

Definition at line 11 of file UserRemoveGroupHook.php.

Member Function Documentation

◆ onUserRemoveGroup()

MediaWiki\User\Hook\UserRemoveGroupHook::onUserRemoveGroup (   $user,
$group 
)

This hook is called when removing a group.

Since
1.35
Parameters
User$userThe user that is to have a group removed
string&$groupThe group to be removed. Can be modified.
Returns
bool|void True or no return value to continue or false to abort (override the stock group removal)

Implemented in MediaWiki\HookContainer\HookRunner.


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