Object oriented structures have replaced our all too familiar hooks which enabled us to extend Drupal with new functionality without hacking core (or other contrib modules). But how does this all work? In this session we will go through a single sign-on (SSO) example module which will help us understand how OOP works its magic into our modules, making them easier to write, understand and debug. In the way, we hope to uncover some of Drupal's design patterns.
Concepts applied will show how to use event listeners, overwriting routes and other tools.
Attendees should be familiarized with basic object oriented terminology, and drupal module development experience is a plus.
This session was presented at DrupalCon Baltimore 2017: