MediaWiki REL1_39
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onGalleryGetModes (&$modeArray) | |
Use this hook to get a list of classes that can render different modes of a gallery. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "GalleryGetModes" to register handlers implementing this interface.
Definition at line 12 of file GalleryGetModesHook.php.
MediaWiki\Hook\GalleryGetModesHook::onGalleryGetModes | ( | & | $modeArray | ) |
Use this hook to get a list of classes that can render different modes of a gallery.
array | &$modeArray | Associative array mapping mode names to classes that implement that mode. It is expected that all registered classes are a subclass of ImageGalleryBase. |
Implemented in MediaWiki\HookContainer\HookRunner.