---
title: "Improving Group (and core) with a modular handler system | Factorial"
meta:
  description: "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."
  keywords: "Drupal Blog,Drupal 8,Drupal 9"
  "og:description": "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."
  "og:title": "Improving Group (and core) with a modular handler system | Factorial"
  "twitter:description": "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."
  "twitter:title": "Improving Group (and core) with a modular handler system | Factorial"
---

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.

### Watch Video

By playing this video, you load content from YouTube. You can accept cookies and load external content by selecting "Load External Content". You can adjust your selection at any time on our [privacy policy](https://www.factorial.io/en/privacy-policy).

![Portrait of Kristiaan Van den Eynde, senior Drupal developer at Factorial and core contributor to the Drupal community.](https://bo.factorial.io/sites/default/files/styles/contact_card__small__1x/public/2020-08/KristiaanVandenEynde.jpg?h=b4e301e9&itok=A32Cl9F6)

Kristiaan van den Eynde

Backend Developer

[kristiaan@factorial.io](mailto:kristiaan@factorial.io)

## Related articles

[Drupal JSON-API Params (DJAP)](https://www.factorial.io/en/blog/drupal-json-api-params-djap)November 24, 2022

![Illustration with the words Drupal, CSS, HTML, and JS](https://bo.factorial.io/sites/default/files/styles/teaser_card__small__1x/public/2025-04/Hero_Drupal_Agency.jpg?h=9553d40f&itok=MF10VZcD)

[Visiting DrupalCon Prague 2022](https://www.factorial.io/en/blog/visiting-drupalcon-prague-2022)October 4, 2022

![Image showing the Factorial team at DrupalCon Prague 2022, holding the Lille rooster mascot.](https://bo.factorial.io/sites/default/files/styles/teaser_card__small__1x/public/2022-11/Factorial-blog-Ddrupalcon-prague-2022-square.png?h=a4f6488c&itok=qruDraqm)

[New dates for the Drupal User Group Hamburg](https://www.factorial.io/en/blog/drupal-user-group-hamburg)October 20, 2022

![Logo of the Drupal User Group Hamburg](https://bo.factorial.io/sites/default/files/styles/teaser_card__small__1x/public/2022-10/factorial-blog-drupal-user-group-hamburg-square.png?h=60a9e832&itok=UixizXq9)