Solved

You Are Implementing a Before Plugin in MyCompany_Magic

Question 75

Multiple Choice

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 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 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 Set a sortOrder="10" for MyCompany_Admission's plugin in
D) Add MyCompany_Admission as a dependency in MyCompany_Magic's etc/module.xml file Add MyCompany_Admission as a dependency in MyCompany_Magic's etc/module.xml

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions