init
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:etc/ui_configuration.xsd">
|
||||
<htmlContent name="gallery" sortOrder="22">
|
||||
<argument name="data" xsi:type="array">
|
||||
<item name="wrapper" xsi:type="array">
|
||||
<item name="label" xsi:type="string" translate="true">Images And Videos</item>
|
||||
<item name="collapsible" xsi:type="boolean">true</item>
|
||||
<item name="opened" xsi:type="boolean">false</item>
|
||||
</item>
|
||||
</argument>
|
||||
<settings>
|
||||
<wrapper>
|
||||
<canShow>true</canShow>
|
||||
<componentType>fieldset</componentType>
|
||||
</wrapper>
|
||||
</settings>
|
||||
<block name="gallery" class="Magento\Catalog\Block\Adminhtml\Product\Helper\Form\Gallery">
|
||||
<arguments>
|
||||
<argument name="config" xsi:type="array">
|
||||
<item name="label" xsi:type="string" translate="true">Images And Videos</item>
|
||||
<item name="collapsible" xsi:type="boolean">true</item>
|
||||
<item name="opened" xsi:type="boolean">false</item>
|
||||
<item name="sortOrder" xsi:type="string">22</item>
|
||||
<item name="canShow" xsi:type="boolean">true</item>
|
||||
<item name="componentType" xsi:type="string">fieldset</item>
|
||||
</argument>
|
||||
</arguments>
|
||||
<block class="Magento\Catalog\Block\Adminhtml\Product\Helper\Form\Gallery\Content" as="content">
|
||||
<arguments>
|
||||
<argument name="config" xsi:type="array">
|
||||
<item name="parentComponent" xsi:type="string">product_form.product_form.block_gallery.block_gallery</item>
|
||||
</argument>
|
||||
</arguments>
|
||||
<block class="Magento\ProductVideo\Block\Adminhtml\Product\Edit\NewVideo"
|
||||
name="new-video"
|
||||
template="Esun_Video::product/edit/slideout/form.phtml">
|
||||
<block class="Esun\Video\Block\Adminhtml\Product\Upload"
|
||||
name="esun-video-upload"
|
||||
as="esun-video-upload"
|
||||
template="Esun_Video::product/upload.phtml"/>
|
||||
</block>
|
||||
</block>
|
||||
</block>
|
||||
</htmlContent>
|
||||
</form>
|
||||
Reference in New Issue
Block a user