function _bakery_init_field_url in Bakery Single Sign-On System 8.2
Same name and namespace in other branches
- 6.2 bakery.module \_bakery_init_field_url()
- 7.4 bakery.module \_bakery_init_field_url()
- 7.2 bakery.module \_bakery_init_field_url()
- 7.3 bakery.module \_bakery_init_field_url()
Build full init url to master.
1 call to _bakery_init_field_url()
File
- ./
bakery.module, line 324 - For implementing different hooks for bakery SSO functionality.
Code
function _bakery_init_field_url($init) {
$scheme = parse_url(\Drupal::config('bakery.settings')
->get('bakery_master'), PHP_URL_SCHEME);
return $scheme . '://' . $init;
}