/** * @param StoreInterface $store * @return string */ private function getFrontendStoreUrl(StoreInterface $store) { return $store->getBaseUrl(FrontendUrlInterface::URL_TYPE_LINK) . '?___store=' . $store->getCode(); }