itwerxdotca/helper_module ? reverse-engineered prompt
Reverse engineered prompt
Build me a Drupal 11 custom module that gives site specific tweaks a cleaner home instead of turning everything into lots of tiny modules.
I want one module called Helper Module that lets me create small helper plugins as PHP classes, then discover and run them through a central helper manager service. Each helper should have a simple id, label, description, weight, and enabled state, and it should be easy to call a helper when I need it in hooks like form alters or other custom logic.
Please keep the module modern and lightweight, with strict typing, PHP 8.1 style code, and clear base classes and interfaces so new helpers are easy to add and test. Make sure the structure feels like a real Drupal 11 module, with the service wiring, plugin attribute, and basic example code working together. If anything needs current Drupal docs to get the plugin system right, look them up online.
Are you gonna build this?
make sure you review the code using coderabbit