task: #3608315 Convert the procedural hooks to OOP hook classes in the Varbase SEO module
Converts the procedural hook implementations in varbase_seo.module to a Drupal 11 OOP hook class src/Hook/VarbaseSeoHooks.php using the #[Hook] attribute.
Converted: form_node_form_alter, form_metatag_defaults_edit_form_alter, modules_installed, pathauto_punctuation_chars_alter. Behavior unchanged. Install/update/schema hooks (if any) stay procedural.
Issue: https://www.drupal.org/i/3608315
Checkpoints
- File an issue about this project
- Addition/Change/Update/Fix to this project
- Testing to ensure no regression
- Automated unit/functional testing coverage
- Developer Documentation support on feature change/addition
- User Guide Documentation support on feature change/addition
- UX/UI designer responsibilities
- Accessibility and Readability
- Reviewed by a human
- Code review by maintainers
- Full testing and approval
- Credit contributors
- Review with the product owner
- Update Release Notes
- Release
Edited by Rajab Natshah