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

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments