MediaWiki  master
GalleryGetModesHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
9 interface GalleryGetModesHook {
19  public function onGalleryGetModes( &$modeArray );
20 }
MediaWiki\Hook\GalleryGetModesHook
Stable to implement.
Definition: GalleryGetModesHook.php:9
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.