function fancy_login_insert_current_path in Fancy Login 7.3
Same name and namespace in other branches
- 6.2 fancy_login.module \fancy_login_insert_current_path()
- 7.2 fancy_login.module \fancy_login_insert_current_path()
Insert current path in to $_GET['q'].
This ensures that any modules that depend upon it will have the correct path to work with.
1 string reference to 'fancy_login_insert_current_path'
- fancy_login_form_alter in ./
fancy_login.module - Implements hook_form_alter().
File
- ./
fancy_login.module, line 420 - Holds hooks for the Fancy Login module.
Code
function fancy_login_insert_current_path($form, &$form_state) {
$_GET['q'] = $form_state['values']['current_path'];
}