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
Is it convenient to ask the journal's editor for two additional days to complete a review?
Towers in the ocean; How deep can they be built?
Do scriptures give a method to recognize a truly self-realized person/jivanmukta?
Why don't programming languages automatically manage the synchronous/asynchronous problem?
Can I calculate next year's exemptions based on this year's refund/amount owed?
A question about free fall, velocity, and the height of an object.
Decide between Polyglossia and Babel for LuaLaTeX in 2019
How do I fit a non linear curve?
It is correct to match light sources with the same color temperature?
Airplane gently rocking its wings during whole flight
Can Sneak Attack be used when hitting with an improvised weapon?
Physiological effects of huge anime eyes
Getting Stale Gas Out of a Gas Tank w/out Dropping the Tank
Lucky Feat: How can "more than one creature spend a luck point to influence the outcome of a roll"?
TikZ: How to fill area with a special pattern?
Help/tips for a first time writer?
Help understanding this unsettling image of Titan, Epimetheus, and Saturn's rings?
Computationally populating tables with probability data
Expressing the idea of having a very busy time
How to get the last not-null value in an ordered column of a huge table?
Traveling with my 5 year old daughter (as the father) without the mother from Germany to Mexico
Expectation in a stochastic differential equation
Is there a difference between "Fahrstuhl" and "Aufzug"?
IC has pull-down resistors on SMBus lines?
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:
Then the order of load module is A,B,C or B,A,C ???
magento2 magento-2.1 sequence
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.
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:
Then the order of load module is A,B,C or B,A,C ???
magento2 magento-2.1 sequence
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.
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:
Then the order of load module is A,B,C or B,A,C ???
magento2 magento-2.1 sequence
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:
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
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.
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 5 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.
add a comment |
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="vendor_module" setup_version="1.0.0">
<sequence>
<module name="A"/>
<module name="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="vendor_module" setup_version="1.0.0">
<sequence>
<module name="A"/>
<module name="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="vendor_module" setup_version="1.0.0">
<sequence>
<module name="A"/>
<module name="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="vendor_module" setup_version="1.0.0">
<sequence>
<module name="A"/>
<module name="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="vendor_module" setup_version="1.0.0">
<sequence>
<module name="A"/>
<module name="B"/>
</sequence>
</module>
</config>
It depends on which module you like to load first, you can interchange both module A and B.
answered 29 secs 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
