MediaWiki  master
UserGetRightsHook.php
Go to the documentation of this file.
1 <?php
2 
4 
5 use User;
6 
14 interface UserGetRightsHook {
24  public function onUserGetRights( $user, &$rights );
25 }
MediaWiki\Permissions\Hook\UserGetRightsHook
This is a hook handler interface, see docs/Hooks.md.
Definition: UserGetRightsHook.php:14
MediaWiki\Permissions\Hook
Definition: GetUserPermissionsErrorsExpensiveHook.php:3
MediaWiki\Permissions\Hook\UserGetRightsHook\onUserGetRights
onUserGetRights( $user, &$rights)
This hook is called in User::getRights().
User
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition: User.php:56