powermail
powermail copied to clipboard
[TASK] Add getView and getRequest to event
Add more methods to the event FormControllerFormActionEvent. It is now possible to also retrieve the view and request from this event. This makes it possible to - for example - add variables to the view.
Adding this so that traw/powermailcaptcha can add a variable to the view directly, instead of having to XCLASS FormController, see https://github.com/in2code-de/powermail_cleaner/issues/1
I hope this might be generally useful as well.