MediaWiki
REL1_37
PreferencesGetLegendHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
5
use
HTMLForm
;
6
14
interface
PreferencesGetLegendHook
{
26
public
function
onPreferencesGetLegend
( $form, $key, &$legend );
27
}
HTMLForm
Object handling generic submission, CSRF protection, layout and other logic for UI forms in a reusabl...
Definition
HTMLForm.php:143
MediaWiki\Hook\PreferencesGetLegendHook
This is a hook handler interface, see docs/Hooks.md.
Definition
PreferencesGetLegendHook.php:14
MediaWiki\Hook\PreferencesGetLegendHook\onPreferencesGetLegend
onPreferencesGetLegend( $form, $key, &$legend)
Use the hook to override the text used for the <legend> of a preferences section.
MediaWiki\Hook
Definition
ActionBeforeFormDisplayHook.php:3
includes
specials
Hook
PreferencesGetLegendHook.php
Generated on Fri Apr 5 2024 23:40:55 for MediaWiki by
1.9.8