private function RedirectDestination::getParentDestination in Bakery Single Sign-On System 8.2
Get link to destination on current site for parent.
Return value
1 call to RedirectDestination::getParentDestination()
- RedirectDestination::get in src/
RedirectDestination.php - Gets the destination as a path.
File
- src/
RedirectDestination.php, line 97
Class
Namespace
Drupal\bakeryCode
private function getParentDestination() {
$query = $this->requestStack
->getCurrentRequest()->query;
if ($query
->has('bd')) {
// @TODO do something?
}
return Url::fromRoute('<current>')
->setAbsolute(TRUE);
}