File tree Expand file tree Collapse file tree 5 files changed +11
-9
lines changed
LoginAsCustomerFrontendUi
LoginAsCustomerQuote/Plugin/LoginAsCustomerApi Expand file tree Collapse file tree 5 files changed +11
-9
lines changed Original file line number Diff line number Diff line change 77
88namespace Magento \LoginAsCustomerAdminUi \Block \Adminhtml ;
99
10- use Magento \Framework \Serialize \Serializer \Json ;
11- use Magento \Store \Ui \Component \Listing \Column \Store \Options as StoreOptions ;
1210use Magento \Backend \Block \Template ;
11+ use Magento \Framework \Serialize \Serializer \Json ;
1312use Magento \LoginAsCustomerApi \Api \ConfigInterface ;
13+ use Magento \Store \Ui \Component \Listing \Column \Store \Options as StoreOptions ;
1414
1515/**
1616 * Login confirmation pop-up
@@ -77,15 +77,13 @@ public function getJsLayout()
7777 }
7878
7979 /**
80- * Render block HTML
81- *
82- * @return string
80+ * @inheritdoc
8381 */
84- protected function _toHtml ()
82+ public function toHtml ()
8583 {
8684 if (!$ this ->config ->isEnabled ()) {
8785 return '' ;
8886 }
89- return parent ::_toHtml ();
87+ return parent ::toHtml ();
9088 }
9189}
Original file line number Diff line number Diff line change 55 "php" : " ~7.3.0||~7.4.0" ,
66 "magento/framework" : " *" ,
77 "magento/module-login-as-customer-api" : " *" ,
8+ "magento/module-login-as-customer-frontend-ui" : " *" ,
89 "magento/module-backend" : " *" ,
910 "magento/module-customer" : " *" ,
1011 "magento/module-store" : " *"
1112 },
13+ "suggest" : {
14+ "magento/module-login-as-customer" : " *"
15+ },
1216 "type" : " magento2-module" ,
1317 "license" : [
1418 " OSL-3.0" ,
Original file line number Diff line number Diff line change 1717 *
1818 * @SuppressWarnings(PHPMD.CookieAndSessionMisuse)
1919 */
20- class LoginAsCustomerFrontendUi implements SectionSourceInterface
20+ class LoginAsCustomerUi implements SectionSourceInterface
2121{
2222 /**
2323 * @var Session
Original file line number Diff line number Diff line change 99 <type name =" Magento\Customer\CustomerData\SectionPoolInterface" >
1010 <arguments >
1111 <argument name =" sectionSourceMap" xsi : type =" array" >
12- <item name =" loggedAsCustomer" xsi : type =" string" >Magento\LoginAsCustomerFrontendUi\CustomerData\LoginAsCustomerFrontendUi </item >
12+ <item name =" loggedAsCustomer" xsi : type =" string" >Magento\LoginAsCustomerFrontendUi\CustomerData\LoginAsCustomerUi </item >
1313 </argument >
1414 </arguments >
1515 </type >
File renamed without changes.
You can’t perform that action at this time.
0 commit comments