Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By atchijov on
I understand that Drupal "hooks" is what made the Drupal - Drupal, but been fun of OOP since times when Smalltak and C++ where the hottest thing it always annoyed me that you can not implement Drupal Module as a PHP class. After spending some time thinking, I have come up with the solution to this (self imposed) problem (gist).
Full blog post with more details at DOO7 - You can teach old dog some new tricks.
Cheers.