MediaWiki  master
PreferencesFormPreSaveHook.php
Go to the documentation of this file.
1 <?php
2 
4 
5 use HTMLForm;
7 
28  public function onPreferencesFormPreSave( $formData, $form, $user, &$result,
29  $oldUserOptions
30  );
31 }
Object handling generic submission, CSRF protection, layout and other logic for UI forms in a reusabl...
Definition: HTMLForm.php:158
internal since 1.36
Definition: User.php:98
This is a hook handler interface, see docs/Hooks.md.
onPreferencesFormPreSave( $formData, $form, $user, &$result, $oldUserOptions)
Use this hook to override preferences being saved.