Skip to content

Commit 600a9ff

Browse files
committed
MAGETWO-52958: Better Semantic for UI Components
1 parent a604300 commit 600a9ff

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/code/Magento/Catalog/view/adminhtml/ui_component/product_form.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,14 @@
5252
<componentType>fieldset</componentType>
5353
</wrapper>
5454
</settings>
55-
<block name="product_gallery" class="Magento\Catalog\Block\Adminhtml\Product\Helper\Form\Gallery">
55+
<block name="gallery" class="Magento\Catalog\Block\Adminhtml\Product\Helper\Form\Gallery">
5656
<block class="Magento\Catalog\Block\Adminhtml\Product\Helper\Form\Gallery\Content" as="content">
5757
<arguments>
5858
<argument name="config" xsi:type="array">
5959
<item name="parentComponent" xsi:type="string">product_form.product_form.block_gallery.block_gallery</item>
6060
</argument>
6161
</arguments>
62-
<block class="Magento\ProductVideo\Block\Adminhtml\Product\Edit\NewVideo" name="product-new-video" template="Magento_ProductVideo::product/edit/slideout/form.phtml"/>
62+
<block class="Magento\ProductVideo\Block\Adminhtml\Product\Edit\NewVideo" name="new-video" template="Magento_ProductVideo::product/edit/slideout/form.phtml"/>
6363
</block>
6464
</block>
6565
</htmlContent>

app/code/Magento/ProductVideo/view/adminhtml/ui_component/product_form.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*/
77
-->
88
<form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:etc/ui_configuration.xsd">
9-
<htmlContent name="video_gallery" sortOrder="22">
9+
<htmlContent name="gallery" sortOrder="22">
1010
<argument name="data" xsi:type="array">
1111
<item name="wrapper" xsi:type="array">
1212
<item name="label" xsi:type="string" translate="true">Images And Videos</item>

0 commit comments

Comments
 (0)