Which two actions are required to ensure the new plugin will execute last?
You are implementing a before plugin in MyCompany_Magic. It will intercept the same method that MyCompany_Admissionis already intercepting using a before plugin: Topmenu::getBlockHtml
Which two actions are required to ensure the new plugin will execute last? (Choose two.)
A . Include a sortOrder=”20” on the new plugin in MyCompany_Magic’s etc/di.xml file
B . Configure plugin sequencing for both plugins in MyCompany_Magic’s etc/plugin_sequence.xmlfile
C . Set a sortOrder=”10” for MyCompany_Admission’splugin in MyCompany_Magic’s etc/di.xml
D . Add MyCompany_Admission as a dependency in MyCompany_Magic’s etc/module.xmlfile
Answer: CD
Latest Magento 2 Certified Associate Developer Dumps Valid Version with 103 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Subscribe
Login
0 Comments
Inline Feedbacks
View all comments