MediaWiki REL1_39
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onPostLoginRedirect (&$returnTo, &$returnToQuery, &$type) | |
Use this hook to modify the post login redirect behavior. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "PostLoginRedirect" to register handlers implementing this interface.
Definition at line 12 of file PostLoginRedirectHook.php.
MediaWiki\Hook\PostLoginRedirectHook::onPostLoginRedirect | ( | & | $returnTo, |
& | $returnToQuery, | ||
& | $type ) |
Use this hook to modify the post login redirect behavior.
Occurs after signing up or logging in, allows for interception of redirect.
string | &$returnTo | The page name to return to, as a string |
string[] | &$returnToQuery | Array of url parameters, mapping parameter names to values |
string | &$type | Type of login redirect as string:
|
Implemented in MediaWiki\HookContainer\HookRunner.