You are here

function _bakery_init_field_url in Bakery Single Sign-On System 7.2

Same name and namespace in other branches
  1. 8.2 bakery.module \_bakery_init_field_url()
  2. 6.2 bakery.module \_bakery_init_field_url()
  3. 7.4 bakery.module \_bakery_init_field_url()
  4. 7.3 bakery.module \_bakery_init_field_url()

Build full init url to master.

2 calls to _bakery_init_field_url()
bakery_form_alter in ./bakery.module
Implements hook_form_alter().
bakery_user_view in ./bakery.module
Implements hook_user_view().

File

./bakery.module, line 1631
Module file for the Bakery.

Code

function _bakery_init_field_url($init) {
  $scheme = parse_url(variable_get('bakery_master', 'http://drupal.org/'), PHP_URL_SCHEME);
  return $scheme . '://' . $init;
}