helper = $helper; parent::__construct($context, $data); } /** * @return string */ public function getHref() { return $this->helper->getBlogUrl(''); } /** * @return \Magento\Framework\Phrase|mixed|string * @throws \Magento\Framework\Exception\NoSuchEntityException */ public function getLabel() { return $this->helper->getBlogConfig('display/name', $this->helper->getCurrentStoreId()) ? : __('Blog'); } /** * @return Data */ public function getHelperData() { return $this->helper; } }