Module Coding Standard

drupal/module-coding-standard

By rang501@gmail.comMARKDOWN
Drupal
Params:module_name = custom_accordion

Spec

Write a Drupal 11 module named {{ module_name }}.
Use hook classes (OO hooks) instead of procedural hook functions.
Follow Drupal 11 coding standards and best practices (PSR-4, strict typing, proper namespaces, dependency injection, services where appropriate).
Keep the implementation clean, minimal, and production-ready.
Do not include tests or deprecated APIs.