Plugins to the Rescue! Decouple Your Code Without Losing Sleep: DrupalCon Portland 2022
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.
More from this event
See all 87 talks →
Driesnote: Portland DrupalCon 2022
1:13:59
Driesnote Q&A: DrupalCon Portland 2022
46:39
Keynote What is Open Source's role in the future well-being of the internet? DrupalCon Portland 2022
1:01:01
Appsolutely Necessary: Native and Mobile apps with Drupal: DrupalCon Portland 2022
44:19