diff --git a/Block/Adminhtml/ConflictList.php b/Block/Adminhtml/ConflictList.php index 33168d7..987bba0 100755 --- a/Block/Adminhtml/ConflictList.php +++ b/Block/Adminhtml/ConflictList.php @@ -1,7 +1,7 @@ objectManager->get(\Magento\Framework\App\Config\ScopeConfigInterface::class) + ->getValue( + 'mfconflictdetector/general/enabled', + \Magento\Store\Model\ScopeInterface::SCOPE_STORE, + ); + } } diff --git a/Block/Adminhtml/System/Config/Form/Info.php b/Block/Adminhtml/System/Config/Form/Info.php new file mode 100644 index 0000000..17e2c31 --- /dev/null +++ b/Block/Adminhtml/System/Config/Form/Info.php @@ -0,0 +1,35 @@ +=2.0.13" + "magefan/module-community" : ">=2.1.6" }, "type": "magento2-module", - "version": "2.0.5", - "license": [ - "OSL-3.0", - "AFL-3.0" - ], + "version": "2.1.0", "autoload": { "files": [ "registration.php" ], "psr-4": { diff --git a/etc/acl.xml b/etc/acl.xml index 07eccb3..5b92a55 100755 --- a/etc/acl.xml +++ b/etc/acl.xml @@ -2,7 +2,7 @@ + + +
+ separator-top + + magefan + Magefan_ConflictDetector::config + + + 1 + + Magefan\ConflictDetector\Block\Adminhtml\System\Config\Form\Info + + + + Magento\Config\Model\Config\Source\Yesno + + + + Magefan\Community\Block\Adminhtml\System\Config\Form\ProductKeyField + + + +
+
+
diff --git a/etc/config.xml b/etc/config.xml new file mode 100644 index 0000000..432f847 --- /dev/null +++ b/etc/config.xml @@ -0,0 +1,20 @@ + + + + + + + 0 + ConflictDetector + 1 + + + + diff --git a/etc/module.xml b/etc/module.xml index 983b65b..fc73f85 100755 --- a/etc/module.xml +++ b/etc/module.xml @@ -2,13 +2,13 @@ - + diff --git a/view/adminhtml/layout/conflictdetector_index_index.xml b/view/adminhtml/layout/conflictdetector_index_index.xml index 2a03ead..d9688f1 100755 --- a/view/adminhtml/layout/conflictdetector_index_index.xml +++ b/view/adminhtml/layout/conflictdetector_index_index.xml @@ -2,7 +2,7 @@