문제

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 magento.stackexchange
scroll top