MediaWiki REL1_41
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
onGetContentModels (&$models) | |
Use this hook to add content models to the list of available models. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "GetContentModels" to register handlers implementing this interface.
Definition at line 12 of file GetContentModelsHook.php.
MediaWiki\Content\Hook\GetContentModelsHook::onGetContentModels | ( | & | $models | ) |
Use this hook to add content models to the list of available models.
string[] | &$models | Array containing current model list as strings. Extensions should add to this list. |
Implemented in MediaWiki\HookContainer\HookRunner.