123456789101112131415161718192021222324252627282930313233 |
- <?php
- /**
- *
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
- namespace Magento\Multishipping\Controller\Checkout\Address;
- class EditAddress extends \Magento\Multishipping\Controller\Checkout\Address
- {
- /**
- * @return void
- */
- public function execute()
- {
- $this->_view->loadLayout();
- if ($addressForm = $this->_view->getLayout()->getBlock('customer_address_edit')) {
- $addressForm->setTitle(
- __('Edit Address')
- )->setSuccessUrl(
- $this->_url->getUrl('*/*/selectBilling')
- )->setErrorUrl(
- $this->_url->getUrl('*/*/*', ['id' => $this->getRequest()->getParam('id')])
- )->setBackUrl(
- $this->_url->getUrl('*/*/selectBilling')
- );
- $this->_view->getPage()->getConfig()->getTitle()->set(
- $addressForm->getTitle() . ' - ' . $this->_view->getPage()->getConfig()->getTitle()->getDefault()
- );
- }
- $this->_view->renderLayout();
- }
- }
|