public function Kitchen::generateInitField in Bakery Single Sign-On System 8.2
Build internal init url (without scheme).
1 call to Kitchen::generateInitField()
- Kitchen::reBakeChocolateChipCookie in src/
Kitchen.php - Re-bake a chocolate chip cookie.
File
- src/
Kitchen.php, line 127
Class
Namespace
Drupal\bakeryCode
public function generateInitField($uid) {
$url = $this->config
->get('bakery_master');
$scheme = parse_url($url, PHP_URL_SCHEME);
return str_replace($scheme . '://', '', $url) . 'user/' . $uid . '/edit';
}