File tree 2 files changed +7
-5
lines changed
app/code/Magento/Customer
2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- *
4
3
* Copyright © Magento, Inc. All rights reserved.
5
4
* See COPYING.txt for license details.
6
5
*/
7
6
namespace Magento \Customer \Controller \Account ;
8
7
9
- use Magento \Framework \App \Action \HttpGetActionInterface as HttpGetActionInterface ;
10
8
use Magento \Customer \Api \CustomerRepositoryInterface ;
11
- use Magento \Framework \Api \DataObjectHelper ;
12
9
use Magento \Customer \Model \Session ;
13
- use Magento \Framework \View \ Result \ PageFactory ;
10
+ use Magento \Framework \Api \ DataObjectHelper ;
14
11
use Magento \Framework \App \Action \Context ;
12
+ use Magento \Framework \App \Action \HttpGetActionInterface ;
13
+ use Magento \Framework \View \Result \PageFactory ;
15
14
16
15
class Edit extends \Magento \Customer \Controller \AbstractAccount implements HttpGetActionInterface
17
16
{
@@ -81,10 +80,10 @@ public function execute()
81
80
\Magento \Customer \Api \Data \CustomerInterface::class
82
81
);
83
82
}
83
+
84
84
$ this ->session ->setCustomerData ($ customerDataObject );
85
85
$ this ->session ->setChangePassword ($ this ->getRequest ()->getParam ('changepass ' ) == 1 );
86
86
87
- $ resultPage ->getConfig ()->getTitle ()->set (__ ('Account Information ' ));
88
87
return $ resultPage ;
89
88
}
90
89
}
Original file line number Diff line number Diff line change 7
7
-->
8
8
<page xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" urn:magento:framework:View/Layout/etc/page_configuration.xsd" >
9
9
<update handle =" customer_account" />
10
+ <head >
11
+ <title >Account Information</title >
12
+ </head >
10
13
<body >
11
14
<referenceBlock name =" head.components" >
12
15
<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