/** * @return $this */ protected function _prepareLayout() { if ($headBlock = $this->getLayout()->getBlock('head')) { $headBlock->setTitle(__('Change Billing Address') . ' - ' . $headBlock->getDefaultTitle()); } return parent::_prepareLayout(); }
/** * @return $this */ protected function _prepareLayout() { $this->pageConfig->getTitle()->set(__('Change Billing Address') . ' - ' . $this->pageConfig->getTitle()->getDefault()); return parent::_prepareLayout(); }