Lifecycle Events

There are many lifecycle hooks that can be subscribed to, which allow you to customize your site from code rather than configuration.