MediaWiki master
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
onTitleGetRestrictionTypes ( $title, &$types) | |
Use this hook to modify the types of protection that can be applied. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "TitleGetRestrictionTypes" to register handlers implementing this interface.
Definition at line 14 of file TitleGetRestrictionTypesHook.php.
MediaWiki\Hook\TitleGetRestrictionTypesHook::onTitleGetRestrictionTypes | ( | $title, | |
& | $types ) |
Use this hook to modify the types of protection that can be applied.
Title | $title | Title in question |
string[] | &$types | Types of protection available |
Implemented in MediaWiki\HookContainer\HookRunner.