Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4125537
PreferencesGetIconHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
840 B
Referenced Files
None
Subscribers
None
PreferencesGetIconHook.php
View Options
<?php
namespace
MediaWiki\Hook
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "PreferencesGetIcon" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
PreferencesGetIconHook
{
/**
* Use the hook to add an icon that will be displayed in the mobile layout of
* Special:Preferences.
*
* @since 1.40
* @param array &$iconNames a key-value array that assigns an icon name to a section name.
* The key is the section name, the value is the icon name.
* You can obtain the icon names from
* https://doc.wikimedia.org/oojs-ui/master/demos/?page=icons&theme=wikimediaui&direction=ltr&platform=desktop
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onPreferencesGetIcon
(
&
$iconNames
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Wed, Aug 19, 07:31 (2 w, 2 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
83/5b/30014d7fb374824d472f7e3a6029
Default Alt Text
PreferencesGetIconHook.php (840 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment