/** * Disable block output if logo is turned off * * @return string */ protected function _toHtml() { $logoUrl = $this->_config->getLogoImageUrl($this->_locale); if (!$logoUrl) { return ''; } $this->setLogoImageUrl($logoUrl); return parent::_toHtml(); }