MediaWiki master
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
onUserGetRights ( $user, &$rights) | |
This hook is called in PermissionManager::getUserPermissions(). | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "UserGetRights" to register handlers implementing this interface.
Definition at line 14 of file UserGetRightsHook.php.
MediaWiki\Permissions\Hook\UserGetRightsHook::onUserGetRights | ( | $user, | |
& | $rights ) |
This hook is called in PermissionManager::getUserPermissions().
User | $user | User to get rights for |
string[] | &$rights | Current rights |
Implemented in MediaWiki\HookContainer\HookRunner.