fixed home button URI
This commit is contained in:
parent
2f126850d7
commit
f6bcc78e28
|
@ -106,6 +106,6 @@ function ouatminimal_preprocess_toolbar(&$variables) {
|
|||
unset($variables['tabs']['home']['link']['#attributes']['data-toolbar-escape-admin']);
|
||||
unset($variables['tabs']['home']['link']['#markup']);
|
||||
unset($variables['tabs']['home']['link']['#children']);
|
||||
$uri = $_SERVER['HTTP_REFERER'];
|
||||
$uri = $_SERVER['REQUEST_SCHEME'] . '://' . $_SERVER['HTTP_HOST'];
|
||||
$variables['tabs']['home']['link']['#url'] = Url::fromUri($uri);
|
||||
}
|
Loading…
Reference in New Issue