MediaWiki REL1_35
ApiOptionsHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Api\Hook;
4
5use ApiOptions;
6use User;
7
12interface ApiOptionsHook {
26 public function onApiOptions( $apiModule, $user, $changes, $resetKinds );
27}
API module that facilitates the changing of user's preferences.
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition User.php:60
onApiOptions( $apiModule, $user, $changes, $resetKinds)
This hook is called by action=options before applying changes to user preferences.