What will be the effect of this declaration?

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

What will be the effect of this declaration?
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

Answer: B

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments