Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F2751607
GalleryGetModesHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
704 B
Referenced Files
None
Subscribers
None
GalleryGetModesHook.php
View Options
<?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
Details
Attached
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)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment