MediaWiki
REL1_35
PreferencesGetLegendHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
5
use
HTMLForm
;
6
11
interface
PreferencesGetLegendHook
{
23
public
function
onPreferencesGetLegend
( $form, $key, &$legend );
24
}
HTMLForm
Object handling generic submission, CSRF protection, layout and other logic for UI forms in a reusabl...
Definition
HTMLForm.php:135
MediaWiki\Hook\PreferencesGetLegendHook
Stable to implement.
Definition
PreferencesGetLegendHook.php:11
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 Sat Apr 6 2024 00:07:54 for MediaWiki by
1.9.8