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
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
New contributor
add a comment |
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
New contributor
<?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
add a comment |
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
New contributor
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
magento2 magento-2.1 sequence
New contributor
New contributor
edited 9 secs ago
magefms
2,1352426
2,1352426
New contributor
asked 9 mins ago
JazzJazz
1
1
New contributor
New contributor
<?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
add a comment |
<?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
add a comment |
1 Answer
1
active
oldest
votes
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.
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
add a comment |
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.
add a comment |
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.
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.
answered 3 mins ago
magefmsmagefms
2,1352426
2,1352426
add a comment |
add a comment |
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.
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
<?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