Can I load my module before other modules, I want to load my module before module-page-catch how do I do that?

Without changing app/code/etc/config.php?


Try this one http://devdocs.magento.com/guides/v2.0/extension-dev-guide/build/module-load-order.html

Vendor_ComponentA - your module

Vendor_ComponentB - module-page-catch


<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
    <module name="Vendor_ComponentB" setup_version="0.0.1">
        <!-- Vendor_ComponentB is dependent on Vendor_ComponentA: -->
            <module name="Vendor_ComponentA" />

or modify the module-page-catch behavior via plugins http://devdocs.magento.com/guides/v2.0/extension-dev-guide/plugins.html

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.