Page 1 of 1

You are implementing a before plugin in MyCompany_Magic. It will intercept the same method that MyCompany_Admission is a

Posted: Sat Aug 20, 2022 7:54 am
by answerhappygod
You are implementing a before plugin in MyCompany_Magic. It will intercept the same method that MyCompany_Admission is 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.xml file
C. Set a sortOrder=ג€10ג€ for MyCompany_Admission's plugin in MyCompany_Magic's etc/di.xml
D. Add MyCompany_Admission as a dependency in MyCompany_Magic's etc/module.xml file