MediaWiki
REL1_39
TitleGetRestrictionTypesHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
5
use
Title
;
6
14
interface
TitleGetRestrictionTypesHook
{
25
public
function
onTitleGetRestrictionTypes
(
$title
, &$types );
26
}
Title
Represents a title within MediaWiki.
Definition
Title.php:49
MediaWiki\Hook\TitleGetRestrictionTypesHook
This is a hook handler interface, see docs/Hooks.md.
Definition
TitleGetRestrictionTypesHook.php:14
MediaWiki\Hook\TitleGetRestrictionTypesHook\onTitleGetRestrictionTypes
onTitleGetRestrictionTypes( $title, &$types)
Use this hook to modify the types of protection that can be applied.
MediaWiki\Hook
Definition
ActionBeforeFormDisplayHook.php:3
$title
$title
Definition
testCompression.php:38
includes
Hook
TitleGetRestrictionTypesHook.php
Generated on Tue Jan 14 2025 18:23:09 for MediaWiki by
1.10.0