August 27, 2021

Improving Group (and core) with a modular handler system

Entity types in core come with what is known as handlers: Various smaller classes that carry out a specific task for the entity type. Group copied this system for its own plugins, but quickly found out that there are severe extensibility limitations to how core deals with handler declarations.

Rather than spending years trying to improve this in core, our colleague Kristiaan set out to write a prototype in the Group module to demonstrate how modular and easy to change handlers really could be.

Watch my approach in the video below.

Portrait of Kristiaan Van den Eynde, senior Drupal developer at Factorial and core contributor to the Drupal community.

Kristiaan van den Eynde

Backend Developer

kristiaan@factorial.io

Related articles