Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
EditAddress.php
Go to the documentation of this file.
1 <?php
8 
9 class EditAddress extends \Magento\Multishipping\Controller\Checkout\Address
10 {
14  public function execute()
15  {
16  $this->_view->loadLayout();
17  if ($addressForm = $this->_view->getLayout()->getBlock('customer_address_edit')) {
18  $addressForm->setTitle(
19  __('Edit Address')
20  )->setSuccessUrl(
21  $this->_url->getUrl('*/*/selectBilling')
22  )->setErrorUrl(
23  $this->_url->getUrl('*/*/*', ['id' => $this->getRequest()->getParam('id')])
24  )->setBackUrl(
25  $this->_url->getUrl('*/*/selectBilling')
26  );
27  $this->_view->getPage()->getConfig()->getTitle()->set(
28  $addressForm->getTitle() . ' - ' . $this->_view->getPage()->getConfig()->getTitle()->getDefault()
29  );
30  }
31  $this->_view->renderLayout();
32  }
33 }
__()
Definition: __.php:13