Page MenuHomeWickedGov Phorge

GalleryGetModesHook.php
No OneTemporary

Size
704 B
Referenced Files
None
Subscribers
None

GalleryGetModesHook.php

<?php
namespace MediaWiki\Hook;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "GalleryGetModes" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface GalleryGetModesHook {
/**
* Use this hook to get a list of classes that can render different modes of a gallery.
*
* @since 1.35
*
* @param 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.
* @return bool|void True or no return value to continue or false to abort
*/
public function onGalleryGetModes( &$modeArray );
}

File Metadata

Mime Type
text/x-php
Expires
Fri, Jul 3, 18:53 (1 d, 16 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
69/c0/68f085833a6f94529600744e5afd
Default Alt Text
GalleryGetModesHook.php (704 B)

Event Timeline