You are here

function fancy_login_insert_current_path in Fancy Login 6.2

Same name and namespace in other branches
  1. 7.3 fancy_login.module \fancy_login_insert_current_path()
  2. 7.2 fancy_login.module \fancy_login_insert_current_path()

Insert current path in to $_GET['q'] so 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
Implementation of hook_form_alter()

File

./fancy_login.module, line 432

Code

function fancy_login_insert_current_path($form, &$form_state) {
  $_GET['q'] = $form_state['values']['current_path'];
}