MediaWiki REL1_40
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
onUserAddGroup ( $user, &$group, &$expiry) | |
This hook is called when adding a group or changing a group's expiry. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "UserAddGroup" to register handlers implementing this interface.
Definition at line 14 of file UserAddGroupHook.php.
MediaWiki\User\Hook\UserAddGroupHook::onUserAddGroup | ( | $user, | |
& | $group, | ||
& | $expiry ) |
This hook is called when adding a group or changing a group's expiry.
User | $user | The user that is to have a group added |
string | &$group | The group to add; can be modified |
string | null | &$expiry | The expiry time in TS_MW format, or null if the group is not to expire; can be modified |
Implemented in MediaWiki\HookContainer\HookRunner.