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