You are here

function _profile2_regpath_user_login in Profile2 Registration Path 7.2

Same name and namespace in other branches
  1. 7 registration_form.inc \_profile2_regpath_user_login()

Page callback: Displays a user login form.

Path: [path-setting]/login

Parameters

object $regpath: Object containing single row from profile2_regpath_get_profiles() database result.

See also

profile2_regpath_menu()

3 string references to '_profile2_regpath_user_login'
profile2_regpath_menu in ./profile2_regpath.module
Implements hook_menu().
profile2_regpath_update_7130 in ./profile2_regpath.install
Implements hook_update_n().
profile2_regpath_validate_settings in ./profile2_regpath.admin.inc
Validate profile settings form values.

File

./profile2_regpath.inc, line 94
Modifications to the user registration form.

Code

function _profile2_regpath_user_login($regpath) {
  module_load_include('pages.inc', 'user', 'user');
  $output = user_page();
  _profile2_regpath_set_title($regpath, 'login_title');
  return $output;
}