function login_destination_get_destination in Login Destination 5
Same name and namespace in other branches
- 7 login_destination.module \login_destination_get_destination()
1 call to login_destination_get_destination()
- login_destination_form_alter in ./
login_destination.module - Implementation of hook_form_alter().
File
- ./
login_destination.module, line 27 - Controls which URL users will be redirected upon login.
Code
function login_destination_get_destination() {
return url($_GET['q'], "destination=login_redirect");
}