![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/old/vendor/magento/module-multishipping/Controller/Checkout/Address/ |
<?php /** * * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ declare(strict_types=1); namespace Magento\Multishipping\Controller\Checkout\Address; use Magento\Framework\App\Action\HttpGetActionInterface as HttpGetActionInterface; use Magento\Multishipping\Controller\Checkout\Address; /** * Controller for editing the specified Address. */ class EditAddress extends Address implements HttpGetActionInterface { /** * Execute edit Billing Address action. * * @return void */ public function execute() { $this->_view->loadLayout(); if ($addressForm = $this->_view->getLayout()->getBlock('customer_address_edit')) { $id = $this->getRequest()->getParam('id'); $addressForm->setTitle( __('Edit Address') )->setSuccessUrl( $this->_url->getUrl('*/*/saveBillingFromList', ['id' => $id]) )->setErrorUrl( $this->_url->getUrl('*/*/*', ['id' => $id]) )->setBackUrl( $this->_url->getUrl('*/*/selectBilling') ); $this->_view->getPage()->getConfig()->getTitle()->set( $addressForm->getTitle() . ' - ' . $this->_view->getPage()->getConfig()->getTitle()->getDefault() ); } $this->_view->renderLayout(); } }