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