MediaWiki  master
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. More...

Detailed Description

Stable to implement.

Definition at line 11 of file UserRemoveGroupHook.php.

Member Function Documentation

◆ onUserRemoveGroup()

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

This hook is called when removing a group.

User$userThe user that is to have a group removed
string&$groupThe group to be removed. Can be modified.
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: