I want to share a beforeExecuteRoute for all the routes of my multi module app.
For that I wanted to have a plugin shared by all my modules which will be attached to 'dispatch' using the event manager. What I don't get is how I can register the plugin dir, just once. I found examples for single module app.