MediaWiki
REL1_39
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:150
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 Mon Dec 16 2024 06:36:26 for MediaWiki by
1.10.0