You are here

function _bakery_init_field_url in Bakery Single Sign-On System 7.3

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.2 bakery.module \_bakery_init_field_url()

Build full init url to master.

1 call to _bakery_init_field_url()
bakery_form_alter in ./bakery.module
Implements hook_form_alter().

File

./bakery.module, line 855

Code

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