File tree Expand file tree Collapse file tree 5 files changed +32
-37
lines changed
MediaGalleryIntegration/etc Expand file tree Collapse file tree 5 files changed +32
-37
lines changed Original file line number Diff line number Diff line change 10
10
type =" Magento\AsyncConfig\Model\AsyncConfigPublisher" />
11
11
<preference for =" Magento\AsyncConfig\Api\Data\AsyncConfigMessageInterface"
12
12
type =" Magento\AsyncConfig\Model\Entity\AsyncConfigMessage" />
13
- <preference for =" Magento\Config\Model\Config\Structure\ElementVisibilityInterface" type =" Magento\Config\Model\Config\Structure\ElementVisibilityComposite" />
14
- <type name =" Magento\Framework\File\Uploader" >
15
- <plugin name =" save_asset_image" type =" Magento\MediaGalleryIntegration\Plugin\SaveImageInformation" />
16
- </type >
17
- <type name =" Magento\MediaGalleryIntegration\Plugin\SaveImageInformation" >
18
- <arguments >
19
- <argument name =" imageExtensions" xsi : type =" array" >
20
- <item name =" jpg" xsi : type =" string" >jpg</item >
21
- <item name =" jpeg" xsi : type =" string" >jpeg</item >
22
- <item name =" gif" xsi : type =" string" >gif</item >
23
- <item name =" png" xsi : type =" string" >png</item >
24
- </argument >
25
- </arguments >
26
- </type >
27
13
</config >
Original file line number Diff line number Diff line change 7
7
-->
8
8
<config xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" urn:magento:framework:ObjectManager/etc/config.xsd" >
9
9
<preference for =" Magento\Config\Model\Config\Backend\File\RequestData\RequestDataInterface" type =" Magento\Config\Model\Config\Backend\File\RequestData" />
10
- <preference for =" Magento\Config\Model\Config\Structure\ElementVisibilityInterface" type =" Magento\Config\Model\Config\Structure\ElementVisibilityComposite" />
11
10
<type name =" Magento\Config\Model\Config\Structure\Element\Iterator\Tab" shared =" false" />
12
11
<type name =" Magento\Config\Model\Config\Structure\Element\Iterator\Section" shared =" false" />
13
- <type name =" Magento\Config\Model\Config\Structure\ElementVisibilityComposite" >
14
- <arguments >
15
- <argument name =" visibility" xsi : type =" array" >
16
- <item name =" productionVisibility" xsi : type =" object" >Magento\Config\Model\Config\Structure\ConcealInProductionConfigList</item >
17
- <item name =" concealInProduction" xsi : type =" object" >Magento\Config\Model\Config\Structure\ElementVisibility\ConcealInProduction</item >
18
- <item name =" concealInProductionWithoutScdOnDemand" xsi : type =" object" >Magento\Config\Model\Config\Structure\ElementVisibility\ConcealInProductionWithoutScdOnDemand</item >
19
- </argument >
20
- </arguments >
21
- </type >
22
12
</config >
Original file line number Diff line number Diff line change 10
10
<preference for =" Magento\Config\Model\Config\Backend\File\RequestData\RequestDataInterface" type =" Magento\Config\Model\Config\Backend\File\RequestData" />
11
11
<preference for =" Magento\Framework\App\Config\ConfigResource\ConfigInterface" type =" Magento\Config\Model\ResourceModel\Config" />
12
12
<preference for =" Magento\Framework\App\Config\CommentParserInterface" type =" Magento\Config\Model\Config\Parser\Comment" />
13
+ <preference for =" Magento\Config\Model\Config\Structure\ElementVisibilityInterface" type =" Magento\Config\Model\Config\Structure\ElementVisibilityComposite" />
14
+ <type name =" Magento\Config\Model\Config\Structure\ElementVisibilityComposite" >
15
+ <arguments >
16
+ <argument name =" visibility" xsi : type =" array" >
17
+ <item name =" productionVisibility" xsi : type =" object" >Magento\Config\Model\Config\Structure\ConcealInProductionConfigList</item >
18
+ <item name =" concealInProduction" xsi : type =" object" >Magento\Config\Model\Config\Structure\ElementVisibility\ConcealInProduction</item >
19
+ <item name =" concealInProductionWithoutScdOnDemand" xsi : type =" object" >Magento\Config\Model\Config\Structure\ElementVisibility\ConcealInProductionWithoutScdOnDemand</item >
20
+ </argument >
21
+ </arguments >
22
+ </type >
13
23
<virtualType name =" Magento\Framework\View\TemplateEngine\Xhtml\ConfigCompiler" type =" Magento\Framework\View\TemplateEngine\Xhtml\Compiler" shared =" false" >
14
24
<arguments >
15
25
<argument name =" compilerText" xsi : type =" object" >Magento\Framework\View\TemplateEngine\Xhtml\Compiler\Text</argument >
Original file line number Diff line number Diff line change 9
9
<type name =" Magento\Ui\Component\Form\Element\DataType\Media\OpenDialogUrl" >
10
10
<plugin name =" new_media_gallery_open_dialog_url" type =" Magento\MediaGalleryIntegration\Plugin\NewMediaGalleryOpenDialogUrl" />
11
11
</type >
12
- <type name =" Magento\Framework\File\Uploader" >
13
- <plugin name =" save_asset_image" type =" Magento\MediaGalleryIntegration\Plugin\SaveImageInformation" />
14
- </type >
15
- <type name =" Magento\MediaGalleryIntegration\Plugin\SaveImageInformation" >
16
- <arguments >
17
- <argument name =" imageExtensions" xsi : type =" array" >
18
- <item name =" jpg" xsi : type =" string" >jpg</item >
19
- <item name =" jpeg" xsi : type =" string" >jpeg</item >
20
- <item name =" gif" xsi : type =" string" >gif</item >
21
- <item name =" png" xsi : type =" string" >png</item >
22
- </argument >
23
- </arguments >
24
- </type >
25
12
</config >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" ?>
2
+ <!--
3
+ /**
4
+ * Copyright © Magento, Inc. All rights reserved.
5
+ * See COPYING.txt for license details.
6
+ */
7
+ -->
8
+ <config xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" urn:magento:framework:ObjectManager/etc/config.xsd" >
9
+ <type name =" Magento\Framework\File\Uploader" >
10
+ <plugin name =" save_asset_image" type =" Magento\MediaGalleryIntegration\Plugin\SaveImageInformation" />
11
+ </type >
12
+ <type name =" Magento\MediaGalleryIntegration\Plugin\SaveImageInformation" >
13
+ <arguments >
14
+ <argument name =" imageExtensions" xsi : type =" array" >
15
+ <item name =" jpg" xsi : type =" string" >jpg</item >
16
+ <item name =" jpeg" xsi : type =" string" >jpeg</item >
17
+ <item name =" gif" xsi : type =" string" >gif</item >
18
+ <item name =" png" xsi : type =" string" >png</item >
19
+ </argument >
20
+ </arguments >
21
+ </type >
22
+ </config >
You can’t perform that action at this time.
0 commit comments