Magento 2.4 How to override vendormagentoframeworkViewElementTemplateFile using a preference or a plugin in a custom module.?
How to override vendormagentoframeworkViewElementTemplateFileValidator.php using a preference or a plugin in a custom module. Workout: appcodeVendorEditCore1di.xml <?xml version=”1.0″?> <config xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:ObjectManager/etc/config.xsd”> <preference for=”magentoframeworkViewElementTemplateFileValidator” type=”VendorEditCore1frameworkViewElementTemplateFileValidator” /> </config> And my validator.php file path is, Vendor Path : vendormagentoframeworkViewElementTemplateFileValidator.php Custom Module Path: appcodeVendorEditCore1frameworkViewElementTemplateFileValidator.php… Read More »Magento 2.4 How to override vendormagentoframeworkViewElementTemplateFile using a preference or a plugin in a custom module.?