O'Reilly logo

Magento 2 Developer's Guide by Branko Ajzele

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

In this chapter, we had a look at a powerful feature of Magento called plugins. We created a small module with three plugins; each plugin had a different sort order. This enabled us to trace the execution flow of multiple plugins that observe the same method. We explored in detail the before, after, and around listener methods, while having a strong emphasis on the parameter order. The finalized module used in this chapter can be found at https://github.com/ajzele/B05032-Foggyline_Plugged.

In the next chapter, we are going to dive deep into backend development.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required