Magento2 what is use of canRestore property in system.xml? [duplicate]
-
25-01-2021 - |
Вопрос
Can anyone let me know what is exact use of canRestore property defined in system.xml field in Magento2?
Решение
using config.xml we set default values for configuration in of the module. so canRestore is used to reset the field to the default value which specified in config.xml.
This will appear as checkbox in admin. You can show Use system value check-box to system configuration by canRestore="1" property in system.xml
Не связан с magento.stackexchange