Extension:GlobalPreferences/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): GlobalPreferences / includes/GlobalPreferencesFactory.php

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