MediaWiki REL1_39
MediaWiki\Permissions\Hook\UserGetAllRightsHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inheritance diagram for MediaWiki\Permissions\Hook\UserGetAllRightsHook:

Public Member Functions

 onUserGetAllRights (&$rights)
 This hook is called after calculating a list of all available rights.
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "UserGetAllRights" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 12 of file UserGetAllRightsHook.php.

Member Function Documentation

◆ onUserGetAllRights()

MediaWiki\Permissions\Hook\UserGetAllRightsHook::onUserGetAllRights ( & $rights)

This hook is called after calculating a list of all available rights.

Since
1.35
Parameters
string[]&$rightsArray of rights, which may be added to
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: