Plugins to the Rescue! Decouple Your Code Without Losing Sleep: DrupalCon Portland 2022

37:51 · 25 Apr 2022 – 28 Apr 2022 · YouTube

About this talk

This talk features speakers Tony Savorelli and Hector Lopez Trejo as they explore contributing to Drupal through plugins, an evolution from the traditional use of hooks. The session delves into the advantages of using modern methodologies like plugins and event subscribers to enhance code extensibility and reduce complexity. The speakers demonstrate how to implement a custom plugin system and discuss the pros and cons of various extension mechanisms for Drupal modules, including hooks, events, and service decoration. A case study showcases how transitioning to a plugin-based approach notably streamlined the Lingotek module's functionality, highlighting practical benefits for maintainers and developers alike.

From event

DrupalCon Portland 2022

25 Apr 2022 – 28 Apr 2022

All event videos
Back to Watch