Timeline for Magento 1 Class Rewrite in Magento 2 with Dependency Injection System
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 31, 2015 at 14:54 | comment | added | Anton Kril | If you need to substitute behavior of some core class, you should use preference. If you need to substitute behavior of some core method, you should use plugin with around listener that will not call $proceed(). If you need to add behavior to some core method or class, you should use plugins. | |
Oct 29, 2015 at 12:14 | comment | added | huzefam | if it is a class rewrite, is it preferable to use a plugin instead of a preference node? | |
Nov 22, 2013 at 16:06 | vote | accept | Alana Storm | ||
Nov 22, 2013 at 10:54 | history | answered | Anton Kril | CC BY-SA 3.0 |