MediaWiki  master
GalleryGetModesHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
22  public function onGalleryGetModes( &$modeArray );
23 }
MediaWiki\Hook\GalleryGetModesHook
This is a hook handler interface, see docs/Hooks.md.
Definition: GalleryGetModesHook.php:12
MediaWiki\Hook
Definition: ActionBeforeFormDisplayHook.php:3
MediaWiki\Hook\GalleryGetModesHook\onGalleryGetModes
onGalleryGetModes(&$modeArray)
Use this hook to get a list of classes that can render different modes of a gallery.