MediaWiki master
PreferencesGetIconHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Hook;
4
24 public function onPreferencesGetIcon( &$iconNames );
25}
This is a hook handler interface, see docs/Hooks.md.
onPreferencesGetIcon(&$iconNames)
Use the hook to add an icon that will be displayed in the mobile layout of Special:Preferences.