You added a plugin declaration to MyCompany/MyModule/etc/di.xml: What will be the effect of this declaration?

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

You added a plugin declaration to MyCompany/MyModule/etc/di.xml: What will be the effect of this declaration?

Post by answerhappygod »

You added a plugin declaration to MyCompany/MyModule/etc/di.xml:

What will be the effect of this declaration?
You Added A Plu 1
You Added A Plu 1 (9.93 KiB) Viewed 155 times
A. An exception because plugins must not be applied to the interfaces
B. An exception because of the syntax error in the declaration
C. The plugin will be ignored because ActionInterface will never be instantiated directly
D. The plugin will be applied to all implementors of the ActionInterface
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!

This topic has 1 reply

You must be a registered member and logged in to view the replies in this topic.


Register Login
 
Post Reply