|
MediaWiki REL1_39
|
This is a hook handler interface, see docs/Hooks.md. More...

Public Member Functions | |
| onUserSetCookies ( $user, &$session, &$cookies) | |
| This hook is called when setting user cookies. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "UserSetCookies" to register handlers implementing this interface.
Definition at line 18 of file UserSetCookiesHook.php.
| MediaWiki\Session\Hook\UserSetCookiesHook::onUserSetCookies | ( | $user, | |
| & | $session, | ||
| & | $cookies ) |
This hook is called when setting user cookies.
| User | $user | |
| array | &$session | Session array, will be added to the session |
| string[] | &$cookies | Cookies array mapping cookie name to its value |
Implemented in MediaWiki\HookContainer\HookRunner.