MediaWiki REL1_35
PreferencesGetLegendHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Hook;
4
5use HTMLForm;
6
23 public function onPreferencesGetLegend( $form, $key, &$legend );
24}
Object handling generic submission, CSRF protection, layout and other logic for UI forms in a reusabl...
Definition HTMLForm.php:135
onPreferencesGetLegend( $form, $key, &$legend)
Use the hook to override the text used for the <legend> of a preferences section.