MediaWiki REL1_35
MediaWiki\Permissions\Hook\UserGetAllRightsHook Interface Reference

Stable to implement. 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

Stable to implement.

Definition at line 9 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: