Category: Magento

How Magento 2 custom module load

Assume you have a component that needs a configuration file from another component: Component B introduces gadgetlayout.xml, which updates block gadgetBlock from component A. In this case, layout files from component A should be loaded before component B, so you should specify…

Back to top