|
MediaWiki master
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
| onGetAutoPromoteGroups ( $user, &$promote) | |
| This hook is called when determining which autopromote groups a user is entitled to be in. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "GetAutoPromoteGroups" to register handlers implementing this interface.
Definition at line 14 of file GetAutoPromoteGroupsHook.php.
| MediaWiki\User\Hook\GetAutoPromoteGroupsHook::onGetAutoPromoteGroups | ( | $user, | |
| & | $promote ) |
This hook is called when determining which autopromote groups a user is entitled to be in.
| User | $user | User to promote |
| string[] | &$promote | Groups that will be added |
Implemented in MediaWiki\HookContainer\HookRunner.