- Issue created by @tr
- Merge request !23Issue #3486295 by tr: Support for object oriented hook implementations using autowired services β (Merged) created by tr
Automatically closed - issue fixed for 2 weeks with no activity.
As per the core change record:
Support for object oriented hook implementations using autowired services β
As of core Drupal 11.1, hooks can be written as instance methods on a class rather than procedural methods in a module file. This change is backwards compatible with Drupal 10 as well.
Active
2.1
Code
Automatically closed - issue fixed for 2 weeks with no activity.