/** * Preparing global layout * * @return void */ protected function _prepareLayout() { parent::_prepareLayout(); $headBlock = $this->getLayout()->getBlock('head'); if ($headBlock) { $headBlock->setTitle(__('My Wish List')); } }
/** * Prepare global layout * * @return $this * */ protected function _prepareLayout() { parent::_prepareLayout(); $headBlock = $this->getLayout()->getBlock('head'); if ($headBlock) { $headBlock->setTitle($this->getHeader()); } return $this; }
/** * Preparing global layout * * @return void */ protected function _prepareLayout() { parent::_prepareLayout(); $this->pageConfig->getTitle()->set(__('My Wish List')); }
/** * Prepare global layout * * @return $this * */ protected function _prepareLayout() { parent::_prepareLayout(); $this->pageConfig->getTitle()->set($this->getHeader()); return $this; }