Question: How do i tie into doctrine events in concretecms regardless of when/where they are called? Although I have little experience with it i’m familiar with the Doctrine Event Manager and how to add events there…but that seems to only apply when it’s called and i need it to apply everywhere.
In my specific instance, I am trying to tie into an eventVerison prePersist event as i need to make a modification to the event before it saved…and i need to trap it regardless of whether it’s added from my coded or somewhere else on the site. The only way i could think to do it was tying into the doctrine prePersist events and checking to see if the entity is the eventVersion class. Maybe there’s a better way…open to that as well.
Thanks y’all for your amazing help.