Magento2 what is use of canRestore property in system.xml?

by Bhargav   Last Updated September 10, 2018 10:09 AM

Can anyone let me know what is exact use of canRestore property defined in system.xml field in Magento2?



Answers 1


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

Naveed
Naveed
September 10, 2018 09:33 AM

Related Questions



System Config page at backend is showing Blank page

Updated March 24, 2017 07:09 AM


System configuration custom source model error

Updated July 07, 2015 12:43 PM

System Config Multiselect default all selected

Updated March 16, 2017 06:09 AM