/** * Prepare children blocks * * @return $this */ protected function _prepareLayout() { $headBlock = $this->getLayout()->getBlock('head'); if ($headBlock) { $headBlock->setTitle(__('Billing Information - %1', $headBlock->getDefaultTitle())); } return parent::_prepareLayout(); }
/** * Prepare children blocks * * @return $this */ protected function _prepareLayout() { $this->pageConfig->getTitle()->set(__('Billing Information - %1', $this->pageConfig->getTitle()->getDefault())); return parent::_prepareLayout(); }