Magento 2: If a module depends on 2 module which loads first? The Next CEO of Stack OverflowCustom helper in custom module in Magento 2Magento 2 - can't register custom moduleMySQL error and possible duplicates running bin/magento setup:upgrade after renaming moduleMagento2 first module not working<depends/> node real purposeIssues creating first magento 2 moduleEnsure module is loaded after all magento 2 modulesMagento 2 module is created but not workingMagento 2 Module not loadsMagento 2 Sequence - Multiple Modules Overriding Same Template

Why did early computer designers eschew integers?

Film where the government was corrupt with aliens, people sent to kill aliens are given rigged visors not showing the right aliens

How to avoid supervisors with prejudiced views?

Won the lottery - how do I keep the money?

Is it okay to majorly distort historical facts while writing a fiction story?

Why is the US ranked as #45 in Press Freedom ratings, despite its extremely permissive free speech laws?

Spaces in which all closed sets are regular closed

Traduction de « Life is a roller coaster »

Is there a difference between "Fahrstuhl" and "Aufzug"?

Does higher Oxidation/ reduction potential translate to higher energy storage in battery?

Does Germany produce more waste than the US?

What happened in Rome, when the western empire "fell"?

Redefining symbol midway through a document

Is dried pee considered dirt?

What difference does it make using sed with/without whitespaces?

free fall ellipse or parabola?

It is correct to match light sources with the same color temperature?

How to Implement Deterministic Encryption Safely in .NET

Reference request: Grassmannian and Plucker coordinates in type B, C, D

Can I board the first leg of the flight without having final country's visa?

Is a distribution that is normal, but highly skewed, considered Gaussian?

Traveling with my 5 year old daughter (as the father) without the mother from Germany to Mexico

Audio Conversion With ADS1243

Expressing the idea of having a very busy time



Magento 2: If a module depends on 2 module which loads first?



The Next CEO of Stack OverflowCustom helper in custom module in Magento 2Magento 2 - can't register custom moduleMySQL error and possible duplicates running bin/magento setup:upgrade after renaming moduleMagento2 first module not working<depends/> node real purposeIssues creating first magento 2 moduleEnsure module is loaded after all magento 2 modulesMagento 2 module is created but not workingMagento 2 Module not loadsMagento 2 Sequence - Multiple Modules Overriding Same Template










0















In magento there is a module C and it depends on two module A and B. the module.xml of C is as follows:



<?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="Test_C" setup_version="2.0.0">
<sequence>
<module name="Test_A"/>
<module name="Test_B"/>
</sequence>
</module>
</config>


Then the order of load module is A,B,C or B,A,C ???









share









New contributor




Jazz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • <?xml version="1.0"?> <config xmlns:xsi="w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd"> <module name="Magento_C" setup_version="2.0.0"> <sequence> <module name="Magento_A"/> <module name="Magento_B"/> </sequence> </module> </config>

    – Jazz
    2 mins ago















0















In magento there is a module C and it depends on two module A and B. the module.xml of C is as follows:



<?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="Test_C" setup_version="2.0.0">
<sequence>
<module name="Test_A"/>
<module name="Test_B"/>
</sequence>
</module>
</config>


Then the order of load module is A,B,C or B,A,C ???









share









New contributor




Jazz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • <?xml version="1.0"?> <config xmlns:xsi="w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd"> <module name="Magento_C" setup_version="2.0.0"> <sequence> <module name="Magento_A"/> <module name="Magento_B"/> </sequence> </module> </config>

    – Jazz
    2 mins ago













0












0








0








In magento there is a module C and it depends on two module A and B. the module.xml of C is as follows:



<?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="Test_C" setup_version="2.0.0">
<sequence>
<module name="Test_A"/>
<module name="Test_B"/>
</sequence>
</module>
</config>


Then the order of load module is A,B,C or B,A,C ???









share









New contributor




Jazz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












In magento there is a module C and it depends on two module A and B. the module.xml of C is as follows:



<?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="Test_C" setup_version="2.0.0">
<sequence>
<module name="Test_A"/>
<module name="Test_B"/>
</sequence>
</module>
</config>


Then the order of load module is A,B,C or B,A,C ???







magento2 magento-2.1 sequence





share









New contributor




Jazz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.










share









New contributor




Jazz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








share



share








edited 9 secs ago









magefms

2,1352426




2,1352426






New contributor




Jazz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 9 mins ago









JazzJazz

1




1




New contributor




Jazz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Jazz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Jazz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • <?xml version="1.0"?> <config xmlns:xsi="w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd"> <module name="Magento_C" setup_version="2.0.0"> <sequence> <module name="Magento_A"/> <module name="Magento_B"/> </sequence> </module> </config>

    – Jazz
    2 mins ago

















  • <?xml version="1.0"?> <config xmlns:xsi="w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd"> <module name="Magento_C" setup_version="2.0.0"> <sequence> <module name="Magento_A"/> <module name="Magento_B"/> </sequence> </module> </config>

    – Jazz
    2 mins ago
















<?xml version="1.0"?> <config xmlns:xsi="w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd"> <module name="Magento_C" setup_version="2.0.0"> <sequence> <module name="Magento_A"/> <module name="Magento_B"/> </sequence> </module> </config>

– Jazz
2 mins ago





<?xml version="1.0"?> <config xmlns:xsi="w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd"> <module name="Magento_C" setup_version="2.0.0"> <sequence> <module name="Magento_A"/> <module name="Magento_B"/> </sequence> </module> </config>

– Jazz
2 mins ago










1 Answer
1






active

oldest

votes


















0














The first one in the sequence will be the first to be loaded.
In your case, you will be loading only A, and B.



<?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="Magento_C" setup_version="1.0.0">
<sequence>
<module name="Magento_A"/>
<module name="Magento_B"/>
</sequence>
</module>
</config>


It depends on which module you like to load first, you can interchange both module A and B.





share























    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "479"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );






    Jazz is a new contributor. Be nice, and check out our Code of Conduct.









    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f268105%2fmagento-2-if-a-module-depends-on-2-module-which-loads-first%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    The first one in the sequence will be the first to be loaded.
    In your case, you will be loading only A, and B.



    <?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="Magento_C" setup_version="1.0.0">
    <sequence>
    <module name="Magento_A"/>
    <module name="Magento_B"/>
    </sequence>
    </module>
    </config>


    It depends on which module you like to load first, you can interchange both module A and B.





    share



























      0














      The first one in the sequence will be the first to be loaded.
      In your case, you will be loading only A, and B.



      <?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="Magento_C" setup_version="1.0.0">
      <sequence>
      <module name="Magento_A"/>
      <module name="Magento_B"/>
      </sequence>
      </module>
      </config>


      It depends on which module you like to load first, you can interchange both module A and B.





      share

























        0












        0








        0







        The first one in the sequence will be the first to be loaded.
        In your case, you will be loading only A, and B.



        <?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="Magento_C" setup_version="1.0.0">
        <sequence>
        <module name="Magento_A"/>
        <module name="Magento_B"/>
        </sequence>
        </module>
        </config>


        It depends on which module you like to load first, you can interchange both module A and B.





        share













        The first one in the sequence will be the first to be loaded.
        In your case, you will be loading only A, and B.



        <?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="Magento_C" setup_version="1.0.0">
        <sequence>
        <module name="Magento_A"/>
        <module name="Magento_B"/>
        </sequence>
        </module>
        </config>


        It depends on which module you like to load first, you can interchange both module A and B.






        share











        share


        share










        answered 3 mins ago









        magefmsmagefms

        2,1352426




        2,1352426




















            Jazz is a new contributor. Be nice, and check out our Code of Conduct.









            draft saved

            draft discarded


















            Jazz is a new contributor. Be nice, and check out our Code of Conduct.












            Jazz is a new contributor. Be nice, and check out our Code of Conduct.











            Jazz is a new contributor. Be nice, and check out our Code of Conduct.














            Thanks for contributing an answer to Magento Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f268105%2fmagento-2-if-a-module-depends-on-2-module-which-loads-first%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Can not update quote_id field of “quote_item” table magento 2Magento 2.1 - We can't remove the item. (Shopping Cart doesnt allow us to remove items before becomes empty)Add value for custom quote item attribute using REST apiREST API endpoint v1/carts/cartId/items always returns error messageCorrect way to save entries to databaseHow to remove all associated quote objects of a customer completelyMagento 2 - Save value from custom input field to quote_itemGet quote_item data using quote id and product id filter in Magento 2How to set additional data to quote_item table from controller in Magento 2?What is the purpose of additional_data column in quote_item table in magento2Set Custom Price to Quote item magento2 from controller

            Magento 2 disable Secret Key on URL's from terminal The Next CEO of Stack OverflowMagento 2 Shortcut/GUI tool to perform commandline tasks for windowsIn menu add configuration linkMagento oAuth : Generating access token and access secretMagento 2 security key issue in Third-Party API redirect URIPublic actions in admin controllersHow to Disable Cache in Custom WidgetURL Key not changing in Magento 2Product URL Key gets deleted when importing custom options - Magento 2Problem with reindex terminalMagento 2 - bin/magento Commands not working in Cpanel Terminal

            Aasi (pallopeli) Navigointivalikko