File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
app/code/Magento/Customer Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 11<?php
22/**
3- *
43 * Copyright © Magento, Inc. All rights reserved.
54 * See COPYING.txt for license details.
65 */
76namespace Magento \Customer \Controller \Account ;
87
9- use Magento \Framework \App \Action \HttpGetActionInterface as HttpGetActionInterface ;
108use Magento \Customer \Api \CustomerRepositoryInterface ;
11- use Magento \Framework \Api \DataObjectHelper ;
129use Magento \Customer \Model \Session ;
13- use Magento \Framework \View \ Result \ PageFactory ;
10+ use Magento \Framework \Api \ DataObjectHelper ;
1411use Magento \Framework \App \Action \Context ;
12+ use Magento \Framework \App \Action \HttpGetActionInterface ;
13+ use Magento \Framework \View \Result \PageFactory ;
1514
1615class Edit extends \Magento \Customer \Controller \AbstractAccount implements HttpGetActionInterface
1716{
@@ -81,10 +80,10 @@ public function execute()
8180 \Magento \Customer \Api \Data \CustomerInterface::class
8281 );
8382 }
83+
8484 $ this ->session ->setCustomerData ($ customerDataObject );
8585 $ this ->session ->setChangePassword ($ this ->getRequest ()->getParam ('changepass ' ) == 1 );
8686
87- $ resultPage ->getConfig ()->getTitle ()->set (__ ('Account Information ' ));
8887 return $ resultPage ;
8988 }
9089}
Original file line number Diff line number Diff line change 77-->
88<page xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" urn:magento:framework:View/Layout/etc/page_configuration.xsd" >
99 <update handle =" customer_account" />
10+ <head >
11+ <title >Account Information</title >
12+ </head >
1013 <body >
1114 <referenceBlock name =" head.components" >
1215 <block class =" Magento\Framework\View\Element\Js\Components" name =" customer_account_edit_head_components" template =" Magento_Customer::js/components.phtml" />
You can’t perform that action at this time.
0 commit comments