Magento 2: If a module depends on 2 module which loads first? The Next CEO of Stack Overflow
What steps are necessary to read a Modern SSD in Medieval Europe?
Help/tips for a first time writer?
Does higher Oxidation/ reduction potential translate to higher energy storage in battery?
It is correct to match light sources with the same color temperature?
Why am I getting "Static method cannot be referenced from a non static context: String String.valueOf(Object)"?
Getting Stale Gas Out of a Gas Tank w/out Dropping the Tank
Does destroying a Lich's phylactery destroy the soul within it?
Spaces in which all closed sets are regular closed
Is there such a thing as a proper verb, like a proper noun?
Is there an equivalent of cd - for cp or mv
My ex-girlfriend uses my Apple ID to login to her iPad, do I have to give her my Apple ID password to reset it?
How did Beeri the Hittite come up with naming his daughter Yehudit?
Is it OK to decorate a log book cover?
Is it ok to trim down a tube patch?
Expectation in a stochastic differential equation
Can someone explain this formula for calculating Manhattan distance?
What would be the main consequences for a country leaving the WTO?
Physiological effects of huge anime eyes
From jafe to El-Guest
Computationally populating tables with probability data
what's the use of '% to gdp' type of variables?
Can I board the first leg of the flight without having final country's visa?
Expressing the idea of having a very busy time
Won the lottery - how do I keep the money?
Magento 2: If a module depends on 2 module which loads first?
The Next CEO of Stack Overflow
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
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
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
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
New contributor
New contributor
asked 5 mins ago
JazzJazz
1
1
New contributor
New contributor
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 6 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