|
MediaWiki REL1_35
|
Stable to implement. More...

Public Member Functions | |
| onUserAddGroup ( $user, &$group, &$expiry) | |
| This hook is alled when adding a group or changing a group's expiry. | |
Stable to implement.
Definition at line 11 of file UserAddGroupHook.php.
| MediaWiki\User\Hook\UserAddGroupHook::onUserAddGroup | ( | $user, | |
| & | $group, | ||
| & | $expiry | ||
| ) |
This hook is alled 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.