From d38e7eefd3d45ed05cc00135ba3f2463bab7df33 Mon Sep 17 00:00:00 2001 From: "nikoloz.gabisonia" Date: Wed, 6 Mar 2024 16:24:26 +0400 Subject: [PATCH] TEAMS-593 customization, added getBaseLinkUrl --- src/View/Result/Page.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/View/Result/Page.php b/src/View/Result/Page.php index bab143b..7589b1b 100644 --- a/src/View/Result/Page.php +++ b/src/View/Result/Page.php @@ -170,6 +170,14 @@ public function getWebsiteCode() { return $this->storeManager->getWebsite()->getCode(); } + + /** + * @return string + */ + public function getBaseLinkUrl() + { + return $this->storeManager->getStore()->getBaseUrl(\Magento\Framework\UrlInterface::URL_TYPE_LINK); + } /** * @return string