Extension:GlobalPreferences/Hooks/GlobalPreferencesSetGlobalPreferences

Category:Extension hooks#GlobalPreferencesSetGlobalPreferences
GlobalPreferencesSetGlobalPreferences
Available from version 1.44.0 (Gerrit change 1099244)
This hook is called just after saving global preferences. Hook handlers can inspect the old preferences and the new preferences.
Define function:
public static function onGlobalPreferencesSetGlobalPreferences( UserIdentity $user, array $oldPreferences, array $newPreferences ) { ... }
Attach hook:
$wgHooks['GlobalPreferencesSetGlobalPreferences'][] = 'MyExtensionHooks::onGlobalPreferencesSetGlobalPreferences';
Called from:File(s): Category:Extension hooks provided by GlobalPreferencesGlobalPreferences / includes/GlobalPreferencesFactory.php

For more information about attaching hooks, see Manual:Hooks .
For examples of other extensions using this hook, see Category:GlobalPreferencesSetGlobalPreferences extensions.

Category:Extension hooks Category:Extension hooks provided by GlobalPreferences