MediaWiki REL1_39
PreferencesGetLegendHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Hook;
4
5use HTMLForm;
6
26 public function onPreferencesGetLegend( $form, $key, &$legend );
27}
Object handling generic submission, CSRF protection, layout and other logic for UI forms in a reusabl...
Definition HTMLForm.php:150
This is a hook handler interface, see docs/Hooks.md.
onPreferencesGetLegend( $form, $key, &$legend)
Use the hook to override the text used for the <legend> of a preferences section.