MediaWiki master
TitleGetRestrictionTypesHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Hook;
4
6
25 public function onTitleGetRestrictionTypes( $title, &$types );
26}
Represents a title within MediaWiki.
Definition Title.php:78
This is a hook handler interface, see docs/Hooks.md.
onTitleGetRestrictionTypes( $title, &$types)
Use this hook to modify the types of protection that can be applied.