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

            Disable / Remove link to Product Items in Cart Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?How can I limit products that can be bought / added to cart?Remove item from cartHide “Add to Cart” button if specific products are already in cart“Prettifying” the custom options in cart pageCreate link in cart sidebar to view all added items After limit reachedLink products together in checkout/cartHow to Get product from cart and add it againHide action-edit on cart page if simple productRemoving Cart items - ObserverRemove wishlist items when added to cart

            Helsingin valtaus Sisällysluettelo Taustaa | Yleistä sotatoimista | Osapuolet | Taistelut Helsingin ympäristössä | Punaisten antautumissuunnitelma | Taistelujen kulku Helsingissä | Valtauksen jälkeen | Tappiot | Muistaminen | Kirjallisuutta | Lähteet | Aiheesta muualla | NavigointivalikkoTeoksen verkkoversioTeoksen verkkoversioGoogle BooksSisällissota Helsingissä päättyi tasan 95 vuotta sittenSaksalaisten ylivoima jyräsi punaisen HelsinginSuomalaiset kuvaavat sotien jälkiä kaupungeissa – katso kuvat ja tarinat tutuilta kulmiltaHelsingin valtaus 90 vuotta sittenSaksalaiset valtasivat HelsinginHyökkäys HelsinkiinHelsingin valtaus 12.–13.4. 1918Saksalaiset käyttivät ihmiskilpiä Helsingin valtauksessa 1918Teoksen verkkoversioTeoksen verkkoversioSaksalaiset hyökkäävät Etelä-SuomeenTaistelut LeppävaarassaSotilaat ja taistelutLeppävaara 1918 huhtikuussa. KapinatarinaHelsingin taistelut 1918Saksalaisten voitonparaati HelsingissäHelsingin valtausta juhlittiinSaksalaisten Helsinki vuonna 1918Helsingin taistelussa kaatuneet valkokaartilaisetHelsinkiin haudatut taisteluissa kaatuneet punaiset12.4.1918 Helsingin valtauksessa saksalaiset apujoukot vapauttavat kaupunginVapaussodan muistomerkkejä Helsingissä ja pääkaupunkiseudullaCrescendo / Vuoden 1918 Kansalaissodan uhrien muistomerkkim

            Adjektiivitarina Tarinan tekeminen | Esimerkki: ennen | Esimerkki: jälkeen | Navigointivalikko