function _logintoboggan_process_redirect in LoginToboggan 5
Same name and namespace in other branches
- 6 logintoboggan.module \_logintoboggan_process_redirect()
- 7 logintoboggan.module \_logintoboggan_process_redirect()
2 calls to _logintoboggan_process_redirect()
- logintoboggan_user_register_submit in ./
logintoboggan.module - Custom submit function for user registration form
- logintoboggan_validate_email in ./
logintoboggan.module - Menu callback; process validate the e-mail address as a one time URL, and redirects to the user page on success.
File
- ./
logintoboggan.module, line 1051 - Logintoboggan Module
Code
function _logintoboggan_process_redirect($redirect, $account) {
$variables = array(
'%uid' => $account->uid,
);
$redirect = strtr($redirect, $variables);
return $redirect;
}