Day 18 - Events and Subscribers

General Instructions for any Exercise Card

  • Pick the Activity Card you wish to work on, and Download the PDF card
  • Spend some time reading through or watching the Primary Tutorial
  • Implement the exercise
  • Use Hints/Debug/Solution/Additional Resources provided on some of the cards
  • Discuss in comments should you have any queries

Objective

  • In this session, we will take a look into the Events and Subscribers which is a mechanism very similar to the Drupal’s hook system which allows one component of code to be triggered when something else is triggered.
Activity Card Download