From 356ef14274e11d1d9040714bb747d29fca6e466e Mon Sep 17 00:00:00 2001 From: joweecaquicla Date: Tue, 15 Sep 2020 23:28:31 +0800 Subject: [PATCH] magento/adobe-stock-integration#1833: Add ability to disable renditions functionality to stores configuration - added enable disable renditions to stores configuration --- .../MediaGalleryRenditions/etc/adminhtml/system.xml | 8 ++++++-- app/code/Magento/MediaGalleryRenditions/etc/config.xml | 1 + 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/app/code/Magento/MediaGalleryRenditions/etc/adminhtml/system.xml b/app/code/Magento/MediaGalleryRenditions/etc/adminhtml/system.xml index 64f338d53a283..3f9a3d1a8e4e1 100644 --- a/app/code/Magento/MediaGalleryRenditions/etc/adminhtml/system.xml +++ b/app/code/Magento/MediaGalleryRenditions/etc/adminhtml/system.xml @@ -10,11 +10,15 @@
- + + + Magento\Config\Model\Config\Source\Yesno + + validate-zero-or-greater validate-digits - + validate-zero-or-greater validate-digits diff --git a/app/code/Magento/MediaGalleryRenditions/etc/config.xml b/app/code/Magento/MediaGalleryRenditions/etc/config.xml index 58c5aa1f11fd2..6b4f2351b8b10 100644 --- a/app/code/Magento/MediaGalleryRenditions/etc/config.xml +++ b/app/code/Magento/MediaGalleryRenditions/etc/config.xml @@ -9,6 +9,7 @@ + 1 1000 1000