MediaWiki
master
UserGetRightsHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Permissions\Hook
;
4
5
use
MediaWiki\User\User
;
6
14
interface
UserGetRightsHook
{
24
public
function
onUserGetRights
( $user, &$rights );
25
}
MediaWiki\User\User
internal since 1.36
Definition
User.php:93
MediaWiki\Permissions\Hook\UserGetRightsHook
This is a hook handler interface, see docs/Hooks.md.
Definition
UserGetRightsHook.php:14
MediaWiki\Permissions\Hook\UserGetRightsHook\onUserGetRights
onUserGetRights( $user, &$rights)
This hook is called in PermissionManager::getUserPermissions().
MediaWiki\Permissions\Hook
Definition
GetUserPermissionsErrorsExpensiveHook.php:3
includes
Permissions
Hook
UserGetRightsHook.php
Generated on Wed Oct 9 2024 01:25:00 for MediaWiki by
1.10.0