MediaWiki
master
Toggle main menu visibility
PreferencesGetLegendHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Specials\Hook;
4
5
use MediaWiki\HTMLForm\HTMLForm;
6
14
interface
PreferencesGetLegendHook
{
26
public
function
onPreferencesGetLegend
( $form, $key, &$legend );
27
}
28
30
class_alias( PreferencesGetLegendHook::class,
'MediaWiki\\Hook\\PreferencesGetLegendHook'
);
MediaWiki\Specials\Hook\PreferencesGetLegendHook
This is a hook handler interface, see docs/Hooks.md.
Definition
PreferencesGetLegendHook.php:14
MediaWiki\Specials\Hook\PreferencesGetLegendHook\onPreferencesGetLegend
onPreferencesGetLegend( $form, $key, &$legend)
Use the hook to override the text used for the <legend> of a preferences section.
includes
Specials
Hook
PreferencesGetLegendHook.php
Generated on
for MediaWiki by
1.18.0