function fancy_login_forms in Fancy Login 7.2
Same name and namespace in other branches
- 6.2 fancy_login.module \fancy_login_forms()
- 7.3 fancy_login.module \fancy_login_forms()
Implementation of hook_forms()
Aliases the form: user_login_block() To: fancy_login_user_login_block() so that we can target use/extend this block in our popup using hook_form_alter, leaving the original block unaltered
File
- ./
fancy_login.module, line 45
Code
function fancy_login_forms($form_id, $args) {
$forms = array();
if ($form_id == 'fancy_login_user_login_block') {
$forms['fancy_login_user_login_block'] = array(
'callback' => 'user_login_block',
);
}
return $forms;
}