function _bakery_init_field in Bakery Single Sign-On System 7.3
Same name and namespace in other branches
- 6.2 bakery.module \_bakery_init_field()
- 7.4 bakery.module \_bakery_init_field()
- 7.2 bakery.module \_bakery_init_field()
Build internal init url (without scheme).
6 calls to _bakery_init_field()
- bakery_create_account in ./
bakery.module - Hookable local user account creation from SSO cookie properties.
- bakery_login_handler in ./
bakery.module - Special Bakery login callback authenticates the user and returns to slave.
- bakery_register_handler in ./
bakery.module - Special Bakery register callback registers the user and returns to slave.
- bakery_register_return in ./
bakery.module - Custom return for slave registration process.
- bakery_user_login in ./
bakery.module - Implements hook_user_login().
File
- ./
bakery.module, line 846
Code
function _bakery_init_field($uid) {
$url = variable_get('bakery_master', 'http://drupal.org/');
$scheme = parse_url($url, PHP_URL_SCHEME);
return str_replace($scheme . '://', '', $url) . 'user/' . $uid . '/edit';
}