File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
app/code/Magento/Customer/view/frontend Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 21
21
<arguments >
22
22
<argument name =" attribute_data" xsi : type =" object" >Magento\Customer\Block\DataProviders\AddressAttributeData</argument >
23
23
<argument name =" post_code_config" xsi : type =" object" >Magento\Customer\Block\DataProviders\PostCodesPatternsAttributeData</argument >
24
- <argument name =" viewModel " xsi : type =" object" >Magento\Customer\ViewModel\Address</argument >
24
+ <argument name =" view_model " xsi : type =" object" >Magento\Customer\ViewModel\Address</argument >
25
25
</arguments >
26
26
</block >
27
27
</referenceContainer >
Original file line number Diff line number Diff line change 6
6
7
7
/** @var \Magento\Customer\Block\Address\Edit $block */
8
8
/** @var \Magento\Customer\ViewModel\Address $viewModel */
9
- $ viewModel = $ block ->getData ( ' viewModel ' );
9
+ $ viewModel = $ block ->getViewModel ( );
10
10
?>
11
11
<?php $ _company = $ block ->getLayout ()->createBlock (\Magento \Customer \Block \Widget \Company::class) ?>
12
12
<?php $ _telephone = $ block ->getLayout ()->createBlock (\Magento \Customer \Block \Widget \Telephone::class) ?>
You can’t perform that action at this time.
0 commit comments