MediaWiki
REL1_40
GetContentModelsHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Content\Hook
;
4
12
interface
GetContentModelsHook
{
21
public
function
onGetContentModels
( &$models );
22
}
MediaWiki\Content\Hook\GetContentModelsHook
This is a hook handler interface, see docs/Hooks.md.
Definition
GetContentModelsHook.php:12
MediaWiki\Content\Hook\GetContentModelsHook\onGetContentModels
onGetContentModels(&$models)
Use this hook to add content models to the list of available models.
MediaWiki\Content\Hook
Definition
ContentAlterParserOutputHook.php:3
includes
content
Hook
GetContentModelsHook.php
Generated on Thu Jun 27 2024 14:02:32 for MediaWiki by
1.10.0